35 #ifndef leastSquaresOptStencil_H
36 #define leastSquaresOptStencil_H
39 #include "regIOobject.H"
40 #include "labelList.H"
42 #include "volFields.H"
43 #include "surfaceFields.H"
44 #include "surfaceMesh.H"
47 #include "zeroGradientFvPatchFields.H"
69 void faceScalarDer(
const Field<scalar>& iF,
const Field<scalar>& sF,
int com, surfaceScalarField& rField);
70 void faceScalarDer(
const tmp<Field<scalar>>& tiF,
const tmp<Field<scalar>>& tsF,
int com, tmp<surfaceScalarField>& trField);
75 const surfaceScalarField& sF,
77 surfaceScalarField& rField
83 const tmp<surfaceScalarField>& tsF,
85 tmp<surfaceScalarField>& trField
103 tmp<surfaceVectorField>
Grad(
const volScalarField& iF);
104 tmp<surfaceVectorField>
Grad(
const volScalarField& iF,
const surfaceScalarField&);
106 tmp<surfaceTensorField>
Grad(
const volVectorField& iVF);
107 tmp<surfaceTensorField>
Grad(
const volVectorField& iVF,
const surfaceVectorField&);
109 tmp<surfaceScalarField>
Div(
const volVectorField& iVF);
111 tmp<surfaceVectorField>
Div(
const volTensorField& iTF);
This is a method for calculation the differential operators without tangential derivatives. They are further used in the calculation of the QGD terms.
tmp< surfaceScalarField > Div(const volVectorField &iVF)
Calculate divergence of volume vector field on the faces.
tmp< surfaceVectorField > Grad(const volScalarField &iF)
Calculate gradient of volume scalar function on the faces.
~leastSquaresOpt()
Destructor.
void faceScalarDer(const Field< scalar > &iF, const Field< scalar > &sF, int com, surfaceScalarField &rField)
TypeName("leastSquaresOpt")
Methods calculating of differential operators.
leastSquaresOpt(const IOobject &)
Construct from IOobject. Optional flag for if IOobject is the.