Go to the documentation of this file.
62 <<
"Discretisation scheme not specified"
64 <<
"Valid schemes are :" <<
nl
65 << MeshConstructorTablePtr_->sortedToc()
69 const word schemeName(schemeData);
71 auto* ctorPtr = MeshConstructorTable(schemeName);
80 *MeshConstructorTablePtr_
84 return ctorPtr(
mesh, schemeData);
96 const word& snGradName
108 snGradName +
"("+vf.name()+
')',
115 vf.dimensions()*tdeltaCoeffs().dimensions()
131 deltaCoeffs[facei]*(vf[neighbour[facei]] - vf[owner[facei]]);
143 ssfbf[patchi] = pvf.
snGrad(tdeltaCoeffs().boundaryField()[patchi]);
147 ssfbf[patchi] = pvf.
snGrad();
160 const word& sndGradName
163 return snGrad(vf, vf.mesh().nonOrthDeltaCoeffs(), sndGradName);
176 snGrad(vf, deltaCoeffs(vf))
int debug
Static debugging option.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
virtual tmp< Field< Type > > snGrad() const
Return patch-normal gradient.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
#define InfoInFunction
Report an information message using Foam::Info.
A class for handling words, derived from Foam::string.
void clear() const noexcept
A class for managing temporary objects.
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< fvMatrix< Type > > correction(const fvMatrix< Type > &)
#define forAll(list, i)
Loop across all elements in list.
virtual bool coupled() const
Return true if this patch field is coupled.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
bool eof() const noexcept
True if end of input seen.
Mesh data needed to do the Finite Volume discretisation.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Boundary & boundaryFieldRef(const bool updateAccessTime=true)
Return a reference to the boundary field.
static tmp< snGradScheme< Type > > New(const fvMesh &mesh, Istream &schemeData)
Return new tmp interpolation scheme.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad(const GeometricField< Type, fvPatchField, volMesh > &, const tmp< surfaceScalarField > &, const word &snGradName="snGrad")
const Boundary & boundaryField() const
Return const-reference to the boundary field.
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > sndGrad(const GeometricField< Type, fvPatchField, volMesh > &, const word &snGradName="sndGrad")
Return the sndGrad of the given cell field.