33 #include "volFields.H"
36 #include "addToRunTimeSelectionTable.H"
37 #include "coupledFvsPatchFields.H"
63 Info<<
"Selecting finite volume surface calculus stencil type " << fvscType << endl;
65 componentsConstructorTable::iterator cstrIter =
66 componentsConstructorTablePtr_->find(fvscType);
68 if (cstrIter == componentsConstructorTablePtr_->end())
72 "fvscStencil::New(const word&, const fvMesh&)"
73 ) <<
"Unknown Model type " << fvscType << nl << nl
74 <<
"Valid model types are:" << nl
75 << componentsConstructorTablePtr_->sortedToc()
79 return autoPtr<fvscStencil>
86 mesh.time().timeName(),
120 regIOobject(io, false),
122 mesh_(refCast<const fvMesh>(io.db())),
static PtrList< fvscStencil > stencils_
defineRunTimeSelectionTable(fvscStencil, components)
static autoPtr< fvscStencil > New(const word &name, const fvMesh &mesh)
Return a reference to the selected fvscStencil model.
static fvscStencil & lookupOrNew(const word &nname, const fvMesh &mesh)
static tmp<fvscStencil> lookupOrNew
fvscStencil(const IOobject &io)
Construct from components.
defineTypeNameAndDebug(fvscStencil, 0)