Go to the documentation of this file.
62 namespace AveragingMethods
139 virtual ~Dual() =
default;
Base class for lagrangian averaging methods.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A class for managing temporary objects.
tmp< Field< TypeGrad > > internalFieldGrad() const
Return an internal field of the gradient.
virtual autoPtr< AveragingMethod< Type > > clone() const
Construct and return a clone.
AveragingMethod< Type >::TypeGrad TypeGrad
Public typedefs.
void add(const barycentric &coordinates, const tetIndices &tetIs, const Type &value)
Member Functions.
TypeName("dual")
Runtime type information.
tmp< Field< Type > > primitiveField() const
Return an internal field of the average.
PtrList< coordinateSystem > coordinates(solidRegions.size())
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Dual(const IOobject &io, const dictionary &dict, const fvMesh &mesh)
Constructors.
Mesh data needed to do the Finite Volume discretisation.
Type interpolate(const barycentric &coordinates, const tetIndices &tetIs) const
Interpolate.
TypeGrad interpolateGrad(const barycentric &coordinates, const tetIndices &tetIs) const
Interpolate gradient.
Storage and named access for the indices of a tet which is part of the decomposition of a cell.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual ~Dual()=default
Destructor.
Dual-mesh lagrangian averaging procedure.
void average()
Calculate the average.
outerProduct< vector, Type >::type TypeGrad
Protected typedefs.