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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
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.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
barycentric coordinates(const polyMesh &mesh, const point &position, const label celli, const label facei, const label faceTrii, const scalar stepFraction)
Return the coordinates given the position and tet topology.