|
| TypeName ("basic") |
|
| Basic (const IOobject &io, const dictionary &dict, const fvMesh &mesh) |
|
| Basic (const Basic< Type > &am) |
|
virtual autoPtr< AveragingMethod< Type > > | clone () const |
|
virtual | ~Basic () |
|
void | add (const barycentric &coordinates, const tetIndices &tetIs, const Type &value) |
|
Type | interpolate (const barycentric &coordinates, const tetIndices &tetIs) const |
|
TypeGrad | interpolateGrad (const barycentric &coordinates, const tetIndices &tetIs) const |
|
tmp< Field< Type > > | primitiveField () const |
|
tmp< Field< TypeGrad > > | internalFieldGrad () const |
|
| TypeName ("averagingMethod") |
|
| declareRunTimeSelectionTable (autoPtr, AveragingMethod, dictionary,(const IOobject &io, const dictionary &dict, const fvMesh &mesh),(io, dict, mesh)) |
|
| AveragingMethod (const IOobject &io, const dictionary &dict, const fvMesh &mesh, const labelList &size) |
|
| AveragingMethod (const AveragingMethod< Type > &am) |
|
virtual autoPtr< AveragingMethod< Type > > | clone () const=0 |
|
virtual | ~AveragingMethod ()=default |
|
virtual void | average () |
|
virtual void | average (const AveragingMethod< scalar > &weight) |
|
virtual bool | writeData (Ostream &) const |
|
virtual bool | write (const bool valid=true) const |
|
virtual tmp< Field< Type > > | primitiveField () const=0 |
|
void | operator= (const AveragingMethod< Type > &x) |
|
void | operator= (const Type &x) |
|
void | operator= (tmp< FieldField< Field, Type >> x) |
|
void | operator+= (tmp< FieldField< Field, Type >> x) |
|
void | operator*= (tmp< FieldField< Field, Type >> x) |
|
void | operator/= (tmp< FieldField< Field, scalar >> x) |
|
template<class Type>
class Foam::AveragingMethods::Basic< Type >
Basic lagrangian averaging procedure.
This is a cell-volume based average. Point values are summed over the computational cells and the result is divided by the cell volume.
Interpolation is done assuming a constant value over each cells. Cell gradients are calculated by the default fvc::grad scheme, and are also assumed constant when interpolated.
- Source files
-
Definition at line 61 of file Basic.H.