53 namespace AveragingMethods
87 virtual void updateGrad();
Base class for lagrangian averaging methods.
outerProduct< vector, Type >::type GradType
Protected typedefs.
Basic lagrangian averaging procedure.
Basic(const IOobject &io, const dictionary &dict, const fvMesh &mesh)
Constructors.
tmp< Field< Type > > primitiveField() const
Return an internal field of the average.
virtual ~Basic()
Destructor.
Type interpolate(const barycentric &coordinates, const tetIndices &tetIs) const
Interpolate.
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.
TypeName("basic")
Runtime type information.
virtual autoPtr< AveragingMethod< Type > > clone() const
Construct and return a clone.
GradType interpolateGrad(const barycentric &coordinates, const tetIndices &tetIs) const
Interpolate gradient.
AveragingMethod< Type >::GradType GradType
Gradient type.
Pre-declare SubField and related Field type.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
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.