34 #include "volFields.H"
35 #include "surfaceFields.H"
36 #include "fvcSnGrad.H"
40 nfRef_(mesh.thisDb().lookupObject<surfaceVectorField>(
"nf"))
51 if (f.mesh().nGeometricD() == 1)
53 gradf = nfRef_() * fvc::snGrad(f);
59 if (f.mesh().nGeometricD() == 1)
61 gradf = nfRef_() * fvc::snGrad(f);
67 if (f.mesh().nGeometricD() == 1)
69 divf = nfRef_() & fvc::snGrad(f);
75 if (f.mesh().nGeometricD() == 1)
77 divf = nfRef_() & fvc::snGrad(f);
GaussVolPointBase1D(const fvMesh &mesh)
void faceGrad(const volScalarField &f, surfaceVectorField &gradf)
void faceDiv(const volVectorField &f, surfaceScalarField &divf)