AveragingMethod(const IOobject &io, const dictionary &dict, const fvMesh &mesh, const labelList &size)
Constructors.
outerProduct< vector, Type >::type TypeGrad
Protected typedefs.
virtual void updateGrad()
Protected member functions.
AveragingMethod< Type >::TypeGrad TypeGrad
Public typedefs.
tmp< Field< TypeGrad > > internalFieldGrad() const
Return an internal field of the gradient.
virtual autoPtr< AveragingMethod< Type > > clone() const
Construct and return a clone.
tmp< Field< Type > > primitiveField() const
Return an internal field of the average.
virtual ~Moment()
Destructor.
Type interpolate(const barycentric &coordinates, const tetIndices &tetIs) const
Interpolate.
TypeGrad interpolateGrad(const barycentric &coordinates, const tetIndices &tetIs) const
Interpolate gradient.
void add(const barycentric &coordinates, const tetIndices &tetIs, const Type &value)
Member Functions.
Moment(const IOobject &io, const dictionary &dict, const fvMesh &mesh)
Constructors.
TypeName("moment")
Runtime type information.
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Storage and named access for the indices of a tet which is part of the decomposition of a cell.
A class for managing temporary objects.
PtrList< coordinateSystem > coordinates(solidRegions.size())
Barycentric< scalar > barycentric
A scalar version of the templated Barycentric.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.