44 if (surfaceInterpolation::debug)
47 <<
"Constructing limitedSurfaceInterpolationScheme<Type>" <<
endl;
53 <<
"Discretisation scheme not specified"
55 <<
"Valid schemes are :" <<
endl
56 << MeshConstructorTablePtr_->sortedToc()
60 const word schemeName(schemeData);
62 auto* ctorPtr = MeshConstructorTable(schemeName);
71 *MeshConstructorTablePtr_
75 return ctorPtr(
mesh, schemeData);
88 if (surfaceInterpolation::debug)
91 <<
"Constructing limitedSurfaceInterpolationScheme<Type>"
98 <<
"Discretisation scheme not specified"
100 <<
"Valid schemes are :" <<
endl
101 << MeshConstructorTablePtr_->sortedToc()
105 const word schemeName(schemeData);
107 auto* ctorPtr = MeshFluxConstructorTable(schemeName);
116 *MeshFluxConstructorTablePtr_
120 return ctorPtr(
mesh, faceFlux, schemeData);
164 const scalarField& pFaceFlux = faceFlux_.boundaryField()[patchi];
187 this->
mesh().surfaceInterpolation::weights(),
Internal::FieldType & primitiveFieldRef(const bool updateAccessTime=true)
Return a reference to the internal field.
Boundary & boundaryFieldRef(const bool updateAccessTime=true)
Return a reference to the boundary field.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
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)....
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
virtual const scalarListList & weights() const
Return interpolation weights.
A face is a list of labels corresponding to mesh vertices.
Computes the flux of an input vector field.
Mesh data needed to do the Finite Volume discretisation.
virtual ~limitedSurfaceInterpolationScheme()
Destructor.
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.
dimensionedScalar pos0(const dimensionedScalar &ds)
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManipArg< error, int > exit(error &err, const int errNo=1)
tmp< areaScalarField > limiter(const areaScalarField &phi)
#define forAll(list, i)
Loop across all elements in list.