43template<
class Type,
class GType>
58 <<
"Laplacian scheme not specified" <<
endl <<
endl
59 <<
"Valid laplacian schemes are :" <<
endl
60 << IstreamConstructorTablePtr_->sortedToc()
64 const word schemeName(schemeData);
66 auto* ctorPtr = IstreamConstructorTable(schemeName);
75 *IstreamConstructorTablePtr_
79 return ctorPtr(
mesh, schemeData);
85template<
class Type,
class GType>
97template<
class Type,
class GType>
Generic GeometricField class.
bool eof() const noexcept
True if end of input seen.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Mesh data needed to do the Finite Volume discretisation.
virtual tmp< fvMatrix< Type > > fvmLaplacian(const GeometricField< GType, fvsPatchField, surfaceMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)=0
virtual tmp< GeometricField< Type, fvPatchField, volMesh > > fvcLaplacian(const GeometricField< Type, fvPatchField, volMesh > &)=0
tmp< surfaceInterpolationScheme< GType > > tinterpGammaScheme_
static tmp< laplacianScheme< Type, GType > > New(const fvMesh &mesh, Istream &schemeData)
Return a pointer to a new laplacianScheme created on freestore.
const fvMesh & mesh() const
Return mesh reference.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
#define InfoInFunction
Report an information message using Foam::Info.
Namespace for finite-volume.
Ostream & endl(Ostream &os)
Add newline and flush stream.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
bool interpolate(const vector &p1, const vector &p2, const vector &o, vector &n, scalar l)
errorManipArg< error, int > exit(error &err, const int errNo=1)