

Public Member Functions | |
| TypeName ("cellPoint") | |
| Runtime type information. More... | |
| cellPoint (const word &name, const LagrangianMesh &mesh, const dimensionSet &dimensions, const Field< scalar > &weightSum) | |
| Construct with a name, for a mesh and with given dimensions. More... | |
| virtual | ~cellPoint () |
| Destructor. More... | |
| virtual void | remove (const LagrangianSubSubField< scalar > &weight, const LagrangianSubSubField< Type > &psi) |
| Remove weighted values from the average. More... | |
| virtual void | add (const LagrangianSubSubField< scalar > &weight, const LagrangianSubSubField< Type > &psi, const bool cache) |
| Add weighted values to the average. More... | |
| virtual void | correct (const LagrangianSubSubField< scalar > &weight, const LagrangianSubSubField< Type > &psi, const bool cache) |
| Correct weighted values in the average. More... | |
| template<class CellWeight > | |
| Foam::tmp< Foam::Field< Foam::scalar > > | cellVolumeWeightedSum (const polyMesh &pMesh, const CellWeight &cellWeight) |
| template<class CellWeight > | |
| Foam::tmp< Foam::Field< Foam::scalar > > | pointVolumeWeightedSum (const polyMesh &pMesh, const CellWeight &cellWeight) |
Public Member Functions inherited from LagrangianAverage< Type > | |
| TypeName ("LagrangianAverage") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, LagrangianAverage, dictionary,(const word &name, const LagrangianMesh &mesh, const dimensionSet &dimensions, const Field< scalar > &cellWeightSum),(name, mesh, dimensions, cellWeightSum)) | |
| Declare run-time constructor selection tables. More... | |
| LagrangianAverage (const word &name, const LagrangianMesh &mesh, const dimensionSet &dimensions) | |
| Construct with a name, for a mesh and with given dimensions. More... | |
| virtual | ~LagrangianAverage () |
| Destructor. More... | |
| void | remove (const LagrangianSubSubField< Type > &weightPsi) |
| Remove values from the average. More... | |
| void | add (const LagrangianSubSubField< Type > &weightPsi, const bool cache) |
| Add values to the average. More... | |
| void | correct (const LagrangianSubSubField< Type > &weightPsi, const bool cache) |
| Correct values in the average. More... | |
| tmp< LagrangianSubField< Type > > | interpolate (const LagrangianSubMesh &subMesh) const |
| Interpolate to a sub-mesh. More... | |
| void | operator= (const LagrangianAverage< Type > &)=delete |
| Disallow default bitwise assignment. More... | |
| template<template< class > class WeightPF, template< class > class PsiPF> | |
| Foam::autoPtr< Foam::LagrangianAverage< Type > > | New (const word &type, const word &name, const DimensionedField< scalar, LagrangianMesh, WeightPF > &weight, const DimensionedField< Type, LagrangianMesh, PsiPF > &psi) |
| template<class CellMesh , template< class > class PsiPF> | |
| Foam::LagrangianAverageNewReturnType< CellMesh, Type >::type | New (const word &type, const word &name, const DimensionedField< scalar, CellMesh > &cellWeightSum, const DimensionedField< Type, LagrangianMesh, PsiPF > &weightPsi) |
Additional Inherited Members | |
Static Public Member Functions inherited from LagrangianAverage< Type > | |
| template<template< class > class WeightPF, template< class > class PsiPF> | |
| static autoPtr< LagrangianAverage< Type > > | New (const word &type, const word &name, const DimensionedField< scalar, LagrangianMesh, WeightPF > &weight, const DimensionedField< Type, LagrangianMesh, PsiPF > &psi) |
| Select to average a field. More... | |
| template<class CellMesh , template< class > class WeightPsiPF> | |
| static LagrangianAverageNewReturnType< CellMesh, Type >::type | New (const word &type, const word &name, const DimensionedField< scalar, CellMesh > &cellWeightSum, const DimensionedField< Type, LagrangianMesh, WeightPsiPF > &weightPsi) |
| Select to average a field with a given cell weight sum. More... | |
Definition at line 58 of file cellPoint_LagrangianAverage.H.
| cellPoint | ( | const word & | name, |
| const LagrangianMesh & | mesh, | ||
| const dimensionSet & | dimensions, | ||
| const Field< scalar > & | weightSum | ||
| ) |
Construct with a name, for a mesh and with given dimensions.
Definition at line 584 of file cellPoint_LagrangianAverage.C.
|
virtual |
Destructor.
Definition at line 614 of file cellPoint_LagrangianAverage.C.
| TypeName | ( | "cellPoint< Type >" | ) |
Runtime type information.
|
virtual |
Remove weighted values from the average.
Implements LagrangianAverage< Type >.
Definition at line 621 of file cellPoint_LagrangianAverage.C.
References clear(), Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

|
virtual |
Add weighted values to the average.
Implements LagrangianAverage< Type >.
Definition at line 645 of file cellPoint_LagrangianAverage.C.
References clear(), Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

|
virtual |
Correct weighted values in the average.
Implements LagrangianAverage< Type >.
Definition at line 675 of file cellPoint_LagrangianAverage.C.
References clear(), Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

| Foam::tmp<Foam::Field<Foam::scalar> > cellVolumeWeightedSum | ( | const polyMesh & | pMesh, |
| const CellWeight & | cellWeight | ||
| ) |
Definition at line 38 of file cellPoint_LagrangianAverage.C.
References Foam::constant::universal::c, primitiveMesh::cells(), f(), polyMesh::faces(), forAll, tetrahedron< Point, PointRef >::mag(), primitiveMesh::nCells(), tmp< T >::ref(), and tetIndices::tet().

| Foam::tmp<Foam::Field<Foam::scalar> > pointVolumeWeightedSum | ( | const polyMesh & | pMesh, |
| const CellWeight & | cellWeight | ||
| ) |
Definition at line 73 of file cellPoint_LagrangianAverage.C.
References Foam::constant::universal::c, primitiveMesh::cells(), f(), polyMesh::faces(), tetIndices::faceTriIs(), forAll, tetrahedron< Point, PointRef >::mag(), primitiveMesh::nPoints(), tmp< T >::ref(), and tetIndices::tet().
