41 dataGrad_(mesh.nCells())
53 dataGrad_(am.dataGrad_)
83 tempData.primitiveFieldRef() = data_;
84 tempData.correctBoundaryConditions();
85 dataGrad_ =
fvc::grad(tempData)->primitiveField();
99 data_[tetIs.
cell()] += value/this->mesh_.V()[tetIs.
cell()];
110 return data_[tetIs.
cell()];
122 return dataGrad_[tetIs.
cell()];
Base class for lagrangian averaging methods.
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.
void add(const barycentric &coordinates, const tetIndices &tetIs, const Type &value)
Member Functions.
GradType interpolateGrad(const barycentric &coordinates, const tetIndices &tetIs) const
Interpolate gradient.
AveragingMethod< Type >::GradType GradType
Gradient type.
Pre-declare SubField and related Field type.
Generic GeometricField class.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Generic dimensioned Type class.
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.
label cell() const
Return the cell.
A class for managing temporary objects.
This boundary condition applies a zero-gradient condition from the patch internal field onto the patc...
tmp< VolField< typename outerProduct< vector, Type >::type > > grad(const SurfaceField< Type > &ssf)
const dimensionSet dimless