55 const Field<Type>& positiveC,
56 const Field<Type>& positiveP,
57 const Field<Type>& negativeC,
58 const Field<Type>& negativeP
68 const Field<Type>& positiveF,
69 const Field<Type>& positiveP,
70 const Field<Type>& negativeF,
71 const Field<Type>& negativeP
80 const GeometricField<Type, fvPatchField, volMesh>& positiveC,
81 const GeometricField<Type, pointPatchField, pointMesh>& positiveP,
82 const GeometricField<Type, fvPatchField, volMesh>& negativeC,
83 const GeometricField<Type, pointPatchField, pointMesh>& negativeP
100 const fvPatch& patch,
tmp< scalarField > 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.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
GeometricField< scalar, pointPatchField, pointMesh > pointScalarField
tmp< Field< Type > > levelSetAverage(const fvMesh &mesh, const scalarField &levelC, const scalarField &levelP, const Field< Type > &positiveC, const Field< Type > &positiveP, const Field< Type > &negativeC, const Field< Type > &negativeP)
Calculate the average value of two fields, one on each side of a level set.