59 const DimensionedField<Type, volMesh>& positiveC,
60 const DimensionedField<Type, pointMesh>& positiveP,
61 const DimensionedField<Type, volMesh>& negativeC,
62 const DimensionedField<Type, pointMesh>& negativeP
72 const Field<Type>& positiveF,
73 const Field<Type>& positiveP,
74 const Field<Type>& negativeF,
75 const Field<Type>& negativeP
tmp< DimensionedField< Type, volMesh > > levelSetAverage(const fvMesh &mesh, const scalarField &levelC, const scalarField &levelP, const DimensionedField< Type, volMesh > &positiveC, const DimensionedField< Type, pointMesh > &positiveP, const DimensionedField< Type, volMesh > &negativeC, const DimensionedField< Type, pointMesh > &negativeP)
Calculate the average value of two fields, one on each side of a level set.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
tmp< DimensionedField< scalar, volMesh > > levelSetFraction(const fvMesh &mesh, const scalarField &levelC, const scalarField &levelP, const bool above)
Calculate the volume-fraction that a level set occupies. This gives the the.
const std::string patch
OpenFOAM patch number as a std::string.