57 namespace AveragingMethods
Base class for lagrangian averaging methods.
outerProduct< vector, Type >::type GradType
Protected typedefs.
Dual-mesh lagrangian averaging procedure.
tmp< Field< Type > > primitiveField() const
Return an internal field of the average.
Dual(const IOobject &io, const dictionary &dict, const fvMesh &mesh)
Constructors.
Type interpolate(const barycentric &coordinates, const tetIndices &tetIs) const
Interpolate.
GradType interpolateGrad(const barycentric &coordinates, const tetIndices &tetIs) const
Interpolate gradient.
virtual ~Dual()
Destructor.
tmp< Field< GradType > > internalFieldGrad() const
Return an internal field of the gradient.
void add(const barycentric &coordinates, const tetIndices &tetIs, const Type &value)
Member Functions.
virtual autoPtr< AveragingMethod< Type > > clone() const
Construct and return a clone.
void average()
Calculate the average.
AveragingMethod< Type >::GradType GradType
Gradient type.
TypeName("dual")
Runtime type information.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
label size() const
Return the number of elements in the UPtrList.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
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.