divScheme< Type > Class Template Referenceabstract

Abstract base class for finite area calculus div schemes. More...

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

Public Member Functions

 declareRunTimeSelectionTable (tmp, divScheme, Istream,(const faMesh &mesh, Istream &schemeData),(mesh, schemeData))
 
 divScheme (const divScheme &)=delete
 No copy construct. More...
 
void operator= (const divScheme &)=delete
 No copy assignment. More...
 
 divScheme (const faMesh &mesh)
 Construct from mesh. More...
 
 divScheme (const faMesh &mesh, Istream &is)
 Construct from mesh and Istream. More...
 
virtual ~divScheme ()=default
 Destructor. More...
 
const faMeshmesh () const noexcept
 Return mesh reference. More...
 
virtual tmp< GeometricField< typename innerProduct< vector, Type >::type, faPatchField, areaMesh > > facDiv (const GeometricField< Type, faPatchField, areaMesh > &)=0
 
- Public Member Functions inherited from refCount
constexpr refCount () noexcept
 Default construct, initializing count to 0. More...
 
int use_count () const noexcept
 Return the current reference count. More...
 
bool unique () const noexcept
 Return true if the reference count is zero. More...
 
void operator++ () noexcept
 Increment the reference count. More...
 
void operator++ (int) noexcept
 Increment the reference count. More...
 
void operator-- () noexcept
 Decrement the reference count. More...
 
void operator-- (int) noexcept
 Decrement the reference count. More...
 

Static Public Member Functions

static tmp< divScheme< Type > > New (const faMesh &mesh, Istream &schemeData)
 Return a pointer to a new divScheme created on freestore. More...
 

Protected Attributes

const faMeshmesh_
 Reference to mesh. More...
 
tmp< edgeInterpolationScheme< Type > > tinterpScheme_
 Edge interpolation scheme. More...
 

Detailed Description

template<class Type>
class Foam::fa::divScheme< Type >

Abstract base class for finite area calculus div schemes.

Source files

Definition at line 60 of file faDivScheme.H.

Constructor & Destructor Documentation

◆ divScheme() [1/3]

divScheme ( const divScheme< Type > &  )
delete

No copy construct.

◆ divScheme() [2/3]

divScheme ( const faMesh mesh)
inline

Construct from mesh.

Definition at line 111 of file faDivScheme.H.

◆ divScheme() [3/3]

divScheme ( const faMesh mesh,
Istream is 
)
inline

Construct from mesh and Istream.

Definition at line 120 of file faDivScheme.H.

References IOstream::eof(), divScheme< Type >::mesh(), and divScheme< Type >::tinterpScheme_.

Here is the call graph for this function:

◆ ~divScheme()

virtual ~divScheme ( )
virtualdefault

Destructor.

Member Function Documentation

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( tmp  ,
divScheme< Type >  ,
Istream  ,
(const faMesh &mesh, Istream &schemeData)  ,
(mesh, schemeData)   
)

◆ operator=()

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

No copy assignment.

◆ New()

tmp< divScheme< Type > > New ( const faMesh mesh,
Istream schemeData 
)
static

Return a pointer to a new divScheme created on freestore.

Definition at line 35 of file faDivScheme.C.

References Foam::ensightOutput::debug, Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, FatalIOErrorInLookup, InfoInFunction, mesh, and Foam::nl.

Here is the call graph for this function:

◆ mesh()

const faMesh& mesh ( ) const
inlinenoexcept

Return mesh reference.

Definition at line 164 of file faDivScheme.H.

References divScheme< Type >::mesh_.

Referenced by divScheme< Type >::divScheme().

Here is the caller graph for this function:

◆ facDiv()

virtual tmp< GeometricField <typename innerProduct<vector, Type>::type, faPatchField, areaMesh> > facDiv ( const GeometricField< Type, faPatchField, areaMesh > &  )
pure virtual

Implemented in gaussDivScheme< Type >.

Member Data Documentation

◆ mesh_

const faMesh& mesh_
protected

Reference to mesh.

Definition at line 71 of file faDivScheme.H.

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

◆ tinterpScheme_

tmp<edgeInterpolationScheme<Type> > tinterpScheme_
protected

Edge interpolation scheme.

Definition at line 76 of file faDivScheme.H.

Referenced by divScheme< Type >::divScheme().


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