openfoam/applications/solvers
Mark Olesen 3d8a6a5433 ENH: use GeometricField clamp_min, clamp_max, clamp_range
- newer naming allows for less confusing code.
  Eg,
      max(lower)  ->  clamp_min(lower)
      min(upper)  ->  clamp_max(upper)

- prefer combined method, for few operations.
  Eg,
      max(lower) + min(upper) -> clamp_range(lower, upper)

  The updated naming also helps avoid some obvious coding errors.
  Eg,

     Re.min(1200.0);
     Re.max(18800.0);

  instead of
     Re.clamp_range(1200.0, 18800.0);

- can also use implicit conversion of zero_one to MinMax<Type> for
  this type of code:

      lambda_.clamp_range(zero_one{});
2023-02-21 10:05:26 +01:00
..
acoustic/acousticFoam COMP: link finiteArea whenever regionFaModel is used 2022-09-22 11:50:50 +02:00
basic ENH: overPotentialFoam: Make consistent. see #1749. 2023-02-02 10:34:47 +00:00
combustion ENH: use GeometricField clamp_min, clamp_max, clamp_range 2023-02-21 10:05:26 +01:00
compressible ENH: patch fields writeValueEntry method (frequently used) 2023-02-20 11:13:43 +01:00
discreteMethods GIT: Header file updates 2019-10-31 14:48:44 +00:00
DNS ENH: centralize more libraries in src/phaseSystemModels 2020-08-05 18:56:22 +01:00
doc GIT: Header file updates 2019-10-31 14:48:44 +00:00
electromagnetics COMP: fix inline friend declarations (gcc-4.8.5) 2021-01-27 10:33:19 +01:00
financial GIT: Header file updates 2019-10-31 14:48:44 +00:00
finiteArea ENH: finiteArea: improve robustness in code sections vulnerable to math errors 2022-12-14 10:18:23 +00:00
heatTransfer ENH: use GeometricField clamp_min, clamp_max, clamp_range 2023-02-21 10:05:26 +01:00
incompressible ENH: patch fields writeValueEntry method (frequently used) 2023-02-20 11:13:43 +01:00
lagrangian ENH: use GeometricField clamp_min, clamp_max, clamp_range 2023-02-21 10:05:26 +01:00
multiphase ENH: patch fields writeValueEntry method (frequently used) 2023-02-20 11:13:43 +01:00
stressAnalysis ENH: patch fields writeValueEntry method (frequently used) 2023-02-20 11:13:43 +01:00