Go to the documentation of this file.
57 namespace AveragingMethods
111 const point position,
157 const point position,
165 const point position,
172 const point position,
Base class for lagrangian averaging methods.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A class for managing temporary objects.
tmp< Field< Type > > internalField() const
Return an internal field of the average.
TypeGrad interpolateGrad(const point position, const tetIndices &tetIs) const
Interpolate gradient.
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.
virtual ~Dual()
Destructor.
TypeName("dual")
Runtime type information.
Field< Type > & dataCell_
Data on the cells.
void syncDualData()
Sync point data over processor boundaries.
static autoPtr< labelList > size(const fvMesh &mesh)
Private static member functions.
A list of keyword definitions, which are a keyword followed by any number of values (e....
const Field< scalar > & volumeCell_
Private data.
Dual(const IOobject &io, const dictionary &dict, const fvMesh &mesh)
Constructors.
List< label > tetVertices_
Tet vertex labels.
List< scalar > tetCoordinates_
Tet barycentric coordinates.
Mesh data needed to do the Finite Volume discretisation.
void tetGeometry(const point position, const tetIndices &tetIs) const
Private member functions.
Storage and named access for the indices of a tet which is part of the decomposition of a cell.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Type interpolate(const point position, const tetIndices &tetIs) const
Interpolate.
Dual-mesh lagrangian averaging procedure.
Field< scalar > volumeDual_
Volume of the point-centered regions.
void add(const point position, const tetIndices &tetIs, const Type &value)
Member Functions.
void average()
Calculate the average.
Field< Type > & dataDual_
Data on the points.