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.
tmp< VolField< Type > > average(const SurfaceField< Type > &ssf)
Area-weighted average a surfaceField creating a volField.
dimensionedScalar pos0(const dimensionedScalar &ds)
Ostream & endl(Ostream &os)
Add newline and flush stream.
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
bool bound(volScalarField &, const dimensionedScalar &min)
Bound the given scalar field where it is below the specified min value.
Type gAverage(const FieldField< Field, Type > &f)