openfoam/applications/utilities/preProcessing/applyBoundaryLayer
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
..
Make ENH: thermoTools: new library for thermophysics tools 2022-06-21 09:29:13 +01:00
applyBoundaryLayer.C ENH: use GeometricField clamp_min, clamp_max, clamp_range 2023-02-21 10:05:26 +01:00
createFields.H ENH: support 'get()' for retrieving argList options 2019-11-26 21:07:11 +01:00