accumulationScheme< Type > Class Template Referenceabstract

Basic cell Lagrangian accumulation scheme. More...

Inheritance diagram for accumulationScheme< Type >:
Collaboration diagram for accumulationScheme< Type >:

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 LagrangianMeshmesh () 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 LagrangianMeshmesh_
 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...
 

Detailed Description

template<class Type>
class Foam::Lagrangian::accumulationScheme< Type >

Basic cell Lagrangian accumulation scheme.

Abstract base class for Lagrangian accumulation schemes.

Cell-point Lagrangian accumulation scheme.

Source files

Source files

Source files

Definition at line 62 of file LagrangianAccumulationScheme.H.

Constructor & Destructor Documentation

◆ accumulationScheme() [1/3]

accumulationScheme ( const LagrangianMesh mesh)
inline

Construct from a mesh.

Definition at line 106 of file LagrangianAccumulationScheme.H.

◆ accumulationScheme() [2/3]

accumulationScheme ( const LagrangianMesh mesh,
Istream  
)
inline

Construct from a mesh and a stream.

Definition at line 112 of file LagrangianAccumulationScheme.H.

◆ accumulationScheme() [3/3]

accumulationScheme ( const accumulationScheme< Type > &  )
delete

Disallow default bitwise copy construction.

◆ ~accumulationScheme()

Destructor.

Definition at line 69 of file LagrangianAccumulationScheme.C.

Member Function Documentation

◆ TypeName()

TypeName ( "accumulationScheme< Type >"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( tmp  ,
accumulationScheme< Type >  ,
Istream  ,
(const LagrangianMesh &mesh, Istream &is)  ,
(mesh, is)   
)

Declare run-time constructor selection tables.

◆ New()

Foam::tmp< Foam::Lagrangian::accumulationScheme< Type > > New ( const LagrangianMesh mesh,
Istream is 
)
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.

Here is the call graph for this function:

◆ mesh()

const LagrangianMesh& mesh ( ) const
inline

Return mesh reference.

Definition at line 138 of file LagrangianAccumulationScheme.H.

References accumulationScheme< Type >::mesh_.

◆ accumulate() [1/3]

tmp<DimensionedField<Type, CellMesh> > accumulate ( const DimensionedField< Type, LagrangianMesh, PrimitiveField > &  lPsi)

Accumulate a Lagrangian field into a finite volume field.

◆ accumulate() [2/3]

void accumulate ( const LagrangianSubField< Type, PrimitiveField > &  lPsi,
DimensionedField< Type, CellMesh > &  vPsi 
)

◆ operator=()

void operator= ( const accumulationScheme< Type > &  )
delete

Disallow default bitwise assignment.

◆ accumulate() [3/3]

Member Data Documentation

◆ mesh_

const LagrangianMesh& mesh_
protected

Reference to the mesh.

Definition at line 83 of file LagrangianAccumulationScheme.H.

Referenced by accumulationScheme< Type >::mesh().


The documentation for this class was generated from the following files: