43 dataGrad_(
mesh.nCells())
55 dataGrad_(am.dataGrad_)
85 tempData.primitiveFieldRef() = data_;
86 tempData.correctBoundaryConditions();
112 return data_[tetIs.
cell()];
124 return dataGrad_[tetIs.
cell()];
Base class for lagrangian averaging methods.
const fvMesh & mesh_
The mesh on which the averaging is to be done.
AveragingMethod(const IOobject &io, const dictionary &dict, const fvMesh &mesh, const labelList &size)
Constructors.
virtual void updateGrad()
Protected member functions.
Basic lagrangian averaging procedure.
AveragingMethod< Type >::TypeGrad TypeGrad
Public typedefs.
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.
void add(const barycentric &coordinates, const tetIndices &tetIs, const Type &value)
Member Functions.
TypeGrad interpolateGrad(const barycentric &coordinates, const tetIndices &tetIs) const
Interpolate gradient.
A field of fields is a PtrList of fields with reference counting.
constexpr FieldField() noexcept
Construct null.
friend Ostream & operator(Ostream &, const FieldField< Field, Type > &)
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
Generic GeometricField class.
@ NO_REGISTER
Do not request registration (bool: false).
@ NO_READ
Nothing to be read.
@ NO_WRITE
Ignore writing from objectRegistry::writeObject().
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
static const word & zeroGradientType() noexcept
The type name for zeroGradient patch fields.
Storage and named access for the indices of a tet which is part of the decomposition of a cell.
label cell() const noexcept
Return the cell index.
A class for managing temporary objects.
PtrList< coordinateSystem > coordinates(solidRegions.size())
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
const dimensionSet dimless
Dimensionless.
List< label > labelList
A List of labels.
static constexpr const zero Zero
Global zero (0).
Barycentric< scalar > barycentric
A scalar version of the templated Barycentric.