Basic cell Lagrangian accumulation scheme. More...


Public Member Functions | |
| TypeName ("accumulationScheme") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (tmp, accumulationScheme, Istream,(const LagrangianMesh &mesh, Istream &is),(mesh, is)) | |
| Declare run-time constructor selection tables. More... | |
| accumulationScheme (const LagrangianMesh &mesh) | |
| Construct from a mesh. More... | |
| accumulationScheme (const LagrangianMesh &mesh, Istream &) | |
| Construct from a mesh and a stream. More... | |
| accumulationScheme (const accumulationScheme &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~accumulationScheme () |
| Destructor. More... | |
| const LagrangianMesh & | mesh () const |
| Return mesh reference. More... | |
| template<class CellMesh , template< class > class PrimitiveField> | |
| tmp< DimensionedField< Type, CellMesh > > | accumulate (const DimensionedField< Type, LagrangianMesh, PrimitiveField > &lPsi) |
| Accumulate a Lagrangian field into a finite volume field. More... | |
| template<class CellMesh , template< class > class PrimitiveField> | |
| void | accumulate (const LagrangianSubField< Type, PrimitiveField > &lPsi, DimensionedField< Type, CellMesh > &vPsi) |
| Accumulate a Lagrangian sub-field into a finite volume field. More... | |
| void | operator= (const accumulationScheme &)=delete |
| Disallow default bitwise assignment. More... | |
| template<class CellMesh , template< class > class PrimitiveField> | |
| Foam::tmp< Foam::DimensionedField< Type, CellMesh > > | accumulate (const DimensionedField< Type, LagrangianMesh, PrimitiveField > &lPsi) |
Public Member Functions inherited from refCount | |
| int | count () const |
| Return the current reference count. More... | |
| bool | unique () const |
| Return true if the reference count is zero. More... | |
| void | operator++ () |
| Increment the reference count. More... | |
| void | operator++ (int) |
| Increment the reference count. More... | |
| void | operator-- () |
| Decrement the reference count. More... | |
| void | operator-- (int) |
| Decrement the reference count. More... | |
| void | operator= (const refCount &)=delete |
| Disallow bitwise assignment. More... | |
Static Public Member Functions | |
| static tmp< accumulationScheme< Type > > | New (const LagrangianMesh &mesh, Istream &is) |
| Return a pointer to a new accumulationScheme. More... | |
Protected Attributes | |
| const LagrangianMesh & | mesh_ |
| Reference to the mesh. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from refCount | |
| refCount () | |
| Construct null initialising count to 0. More... | |
| refCount (const refCount &)=delete | |
| Disallow copy. More... | |
Basic cell Lagrangian accumulation scheme.
Abstract base class for Lagrangian accumulation schemes.
Cell-point Lagrangian accumulation scheme.
Definition at line 62 of file LagrangianAccumulationScheme.H.
|
inline |
Construct from a mesh.
Definition at line 106 of file LagrangianAccumulationScheme.H.
|
inline |
Construct from a mesh and a stream.
Definition at line 112 of file LagrangianAccumulationScheme.H.
|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 69 of file LagrangianAccumulationScheme.C.
| TypeName | ( | "accumulationScheme< Type >" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | tmp | , |
| accumulationScheme< Type > | , | ||
| Istream | , | ||
| (const LagrangianMesh &mesh, Istream &is) | , | ||
| (mesh, is) | |||
| ) |
Declare run-time constructor selection tables.
|
static |
Return a pointer to a new accumulationScheme.
Definition at line 33 of file LagrangianAccumulationScheme.C.
References Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, mesh, and Foam::nl.

|
inline |
Return mesh reference.
Definition at line 138 of file LagrangianAccumulationScheme.H.
References accumulationScheme< Type >::mesh_.
| tmp<DimensionedField<Type, CellMesh> > accumulate | ( | const DimensionedField< Type, LagrangianMesh, PrimitiveField > & | lPsi | ) |
Accumulate a Lagrangian field into a finite volume field.
| void accumulate | ( | const LagrangianSubField< Type, PrimitiveField > & | lPsi, |
| DimensionedField< Type, CellMesh > & | vPsi | ||
| ) |
Accumulate a Lagrangian sub-field into a finite volume field.
Definition at line 105 of file LagrangianAccumulationScheme.C.
References Foam::Lagrangianc::accumulate(), DimensionedField< Type, GeoMesh, PrimitiveField >::dimensions(), DimensionedField< Type, GeoMesh, PrimitiveField >::primitiveFieldRef(), and Foam::toSubField().

|
delete |
Disallow default bitwise assignment.
| Foam::tmp<Foam::DimensionedField<Type, CellMesh> > accumulate | ( | const DimensionedField< Type, LagrangianMesh, PrimitiveField > & | lPsi | ) |
Definition at line 78 of file LagrangianAccumulationScheme.C.
References Foam::Lagrangianc::accumulate(), DimensionedField< Type, GeoMesh, PrimitiveField >::dimensions(), DimensionedField< Type, GeoMesh, PrimitiveField >::mesh(), IOobject::name(), Foam::compressible::New(), and tmp< T >::ref().

|
protected |
Reference to the mesh.
Definition at line 83 of file LagrangianAccumulationScheme.H.
Referenced by accumulationScheme< Type >::mesh().