49Foam::quadraticDiffusivity::quadraticDiffusivity
71 return sqr(basicDiffusivityPtr_->operator()());
77 basicDiffusivityPtr_->correct();
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
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.
Abstract base class for cell-centre mesh motion diffusivity.
static autoPtr< motionDiffusivity > New(const fvMesh &mesh, Istream &mdData)
Select null constructed.
const fvMesh & mesh() const
Return reference to the mesh.
motionDiffusivity(const fvMesh &mesh)
Construct for the given fvMesh.
Mesh motion diffusivity maipulator which returns the sqr of the given diffusivity.
virtual void correct()
Correct the motion diffusivity.
virtual tmp< surfaceScalarField > operator()() const
Return diffusivity field.
virtual ~quadraticDiffusivity()
Destructor.
A class for managing temporary objects.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
dimensionedSymmTensor sqr(const dimensionedVector &dv)