56 <<
"constructing lnGradScheme<Type>" 63 <<
"Grad scheme not specified" <<
nl <<
nl 64 <<
"Valid schemes are :" <<
endl 65 << MeshConstructorTablePtr_->sortedToc()
69 const word schemeName(schemeData);
71 auto* ctorPtr = MeshConstructorTable(schemeName);
80 *MeshConstructorTablePtr_
84 return ctorPtr(
mesh, schemeData);
103 const word& lnGradName
115 lnGradName +
"("+vf.
name()+
')',
128 const scalarField& deltaCoeffs = tdeltaCoeffs().internalField();
137 deltaCoeffs[faceI]*(vf[neighbour[faceI]] - vf[owner[faceI]]);
159 lnGrad(vf, deltaCoeffs(vf));
Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
tmp< fvMatrix< Type > > correction(const fvMatrix< Type > &)
Return the correction form of the given matrix by subtracting the matrix multiplied by the current fi...
errorManipArg< error, int > exit(error &err, const int errNo=1)
const word & name() const noexcept
Return the object name.
T & ref() const
Return non-const reference to the contents of a non-null managed pointer.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
constexpr char nl
The newline '\n' character (0x0a)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Generic GeometricField class.
Ignore writing from objectRegistry::writeObject()
virtual ~lnGradScheme()
Destructor.
#define forAll(list, i)
Loop across all elements in list.
A class for handling words, derived from Foam::string.
static tmp< lnGradScheme< Type > > New(const faMesh &mesh, Istream &schemeData)
Return new tmp interpolation scheme.
static tmp< GeometricField< Type, faePatchField, edgeMesh > > lnGrad(const GeometricField< Type, faPatchField, areaMesh > &, const tmp< edgeScalarField > &, const word &snGradName="lnGrad")
Return the lnGrad of the given cell field.
const objectRegistry & db() const noexcept
Return the local objectRegistry.
const Mesh & mesh() const noexcept
Return mesh.
int debug
Static debugging option.
tmp< GeometricField< Type, faePatchField, edgeMesh > > lnGrad(const GeometricField< Type, faPatchField, areaMesh > &vf, const word &name)
const fileName & instance() const noexcept
Read access to instance path component.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Boundary & boundaryFieldRef(const bool updateAccessTime=true)
Return a reference to the boundary field.
A class for managing temporary objects.
Defines the attributes of an object for which implicit objectRegistry management is supported...
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
const Boundary & boundaryField() const noexcept
Return const-reference to the boundary field.
bool eof() const noexcept
True if end of input seen.
const dimensionSet & dimensions() const noexcept
Return dimensions.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
#define InfoInFunction
Report an information message using Foam::Info.