33 const scalar minVsf =
Foam::min(vsf).value();
35 if (minVsf <
min.value())
40 <<
", min: " << minVsf
41 <<
" max: " <<
max(vsf).value()
64 bsf[
patchi].patchInternalField()
#define forAll(list, i)
Loop across all elements in list.
Bound the given scalar field where it is below the specified minimum.
Generic GeometricBoundaryField class.
Generic GeometricField class.
Internal::FieldType & primitiveFieldRef()
Return a reference to the primitive field.
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
const word & name() const
Return name.
Area-weighted average a surfaceField creating a volField.
dimensionedScalar pos0(const dimensionedScalar &ds)
Type gAverage(const UList< Type > &f, const label comm)
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< Type > average(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
dimensioned< Type > min(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
bool bound(volScalarField &, const dimensionedScalar &min)
Bound the given scalar field where it is below the specified min value.
Ostream & indent(Ostream &os)
Indent stream.
dimensioned< Type > max(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)