Loading...
Searching...
No Matches
divScheme< Type > Class Template Referenceabstract

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

#include <faDivScheme.H>

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.
void operator= (const divScheme &)=delete
 No copy assignment.
 divScheme (const faMesh &mesh)
 Construct from mesh.
 divScheme (const faMesh &mesh, Istream &is)
 Construct from mesh and Istream.
virtual ~divScheme ()=default
 Destructor.
const faMeshmesh () const noexcept
 Return mesh reference.
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.
int use_count () const noexcept
 Return the current reference count.
bool unique () const noexcept
 Return true if the reference count is zero.
void operator++ () noexcept
 Increment the reference count.
void operator++ (int) noexcept
 Increment the reference count.
void operator-- () noexcept
 Decrement the reference count.
void operator-- (int) noexcept
 Decrement the reference count.

Static Public Member Functions

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

Protected Attributes

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

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]

template<class Type>
divScheme ( const divScheme< Type > & )
delete

No copy construct.

References divScheme().

Referenced by declareRunTimeSelectionTable(), divScheme(), gaussDivScheme< Type >::gaussDivScheme(), gaussDivScheme< Type >::gaussDivScheme(), and operator=().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ divScheme() [2/3]

template<class Type>
divScheme ( const faMesh & mesh)
inline

Construct from mesh.

Definition at line 111 of file faDivScheme.H.

References mesh(), mesh_, and tinterpScheme_.

Here is the call graph for this function:

◆ divScheme() [3/3]

template<class Type>
divScheme ( const faMesh & mesh,
Istream & is )
inline

Construct from mesh and Istream.

Definition at line 120 of file faDivScheme.H.

References IOstream::eof(), mesh(), and mesh_.

Here is the call graph for this function:

◆ ~divScheme()

template<class Type>
virtual ~divScheme ( )
virtualdefault

Destructor.

Member Function Documentation

◆ declareRunTimeSelectionTable()

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

References divScheme(), and mesh().

Here is the call graph for this function:

◆ operator=()

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

No copy assignment.

References divScheme().

Here is the call graph for this function:

◆ New()

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

Return a pointer to a new divScheme created on freestore.

Definition at line 34 of file faDivScheme.C.

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

Referenced by Foam::fac::div(), and Foam::fac::ndiv().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mesh()

template<class Type>
const faMesh & mesh ( ) const
inlinenoexcept

Return mesh reference.

Definition at line 164 of file faDivScheme.H.

References mesh_, and Foam::noexcept.

Referenced by declareRunTimeSelectionTable(), divScheme(), divScheme(), gaussDivScheme< Type >::gaussDivScheme(), gaussDivScheme< Type >::gaussDivScheme(), and New().

Here is the caller graph for this function:

◆ facDiv()

template<class Type>
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_

template<class Type>
const faMesh& mesh_
protected

Reference to mesh.

Definition at line 71 of file faDivScheme.H.

Referenced by divScheme(), divScheme(), gaussDivScheme< Type >::facDiv(), and mesh().

◆ tinterpScheme_

template<class Type>
tmp<edgeInterpolationScheme<Type> > tinterpScheme_
protected

Edge interpolation scheme.

Definition at line 76 of file faDivScheme.H.

Referenced by divScheme().


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