31 template<
class Type,
class SpType>
43 template<
class Type,
class SpType>
63 template<
class Type,
class SpType>
74 <<
"Sp scheme not specified" <<
endl <<
endl
75 <<
"Valid Sp schemes are :" <<
endl
76 << IstreamConstructorTablePtr_->sortedToc()
80 const word schemeName(is);
82 typename IstreamConstructorTable::iterator cstrIter =
83 IstreamConstructorTablePtr_->find(schemeName);
85 if (cstrIter == IstreamConstructorTablePtr_->end())
88 <<
"Unknown Sp scheme " << schemeName <<
nl <<
nl
89 <<
"Valid Sp schemes are :" <<
endl
90 << IstreamConstructorTablePtr_->sortedToc()
94 return cstrIter()(
mesh, is);
100 template<
class Type,
class SpType>
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
bool eof() const
Return true if end of input seen.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Class containing Lagrangian geometry and topology.
static tmp< SpScheme< Type, SpType > > New(const LagrangianMesh &mesh, Istream &is)
Return a pointer to a new SpScheme.
static tmp< LagrangianSubField< Type > > inner(const LagrangianSubScalarField &Sp, const LagrangianSubSubField< Type > &psi)
Generate the inner product of a scalar coefficient with a field.
virtual ~SpScheme()
Destructor.
typeOfRank< typename pTraits< arg1 >::cmptType, direction(pTraits< arg1 >::rank)+direction(pTraits< arg2 >::rank) - 2 >::type type
A class for managing temporary objects.
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
const volScalarField & psi
tmp< VolField< Type > > Sp(const volScalarField &sp, const VolField< Type > &vf)
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.