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

Abstract base class for div schemes. More...

#include <divScheme.H>

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

Public Member Functions

virtual const wordtype () const =0
 Runtime type information.
 declareRunTimeSelectionTable (tmp, divScheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData))
 divScheme (const fvMesh &mesh)
 Construct from mesh.
 divScheme (const fvMesh &mesh, Istream &is)
 Construct from mesh and Istream.
virtual ~divScheme ()=default
 Destructor.
const fvMeshmesh () const
 Return mesh reference.
virtual tmp< GeometricField< typename innerProduct< vector, Type >::type, fvPatchField, volMesh > > fvcDiv (const GeometricField< Type, fvPatchField, volMesh > &)=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 fvMesh &mesh, Istream &schemeData)
 Return a pointer to a new divScheme created on freestore.

Protected Member Functions

 divScheme (const divScheme &)=delete
 No copy construct.
void operator= (const divScheme &)=delete
 No copy assignment.

Protected Attributes

const fvMeshmesh_
tmp< surfaceInterpolationScheme< Type > > tinterpScheme_

Detailed Description

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

Abstract base class for div schemes.

Source files

Definition at line 65 of file divScheme.H.

Constructor & Destructor Documentation

◆ divScheme() [1/3]

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

◆ divScheme() [2/3]

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

Construct from mesh.

Definition at line 116 of file divScheme.H.

References mesh(), mesh_, and tinterpScheme_.

Here is the call graph for this function:

◆ divScheme() [3/3]

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

Construct from mesh and Istream.

Definition at line 125 of file divScheme.H.

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

Here is the call graph for this function:

◆ ~divScheme()

template<class Type>
virtual ~divScheme ( )
virtualdefault

Destructor.

Member Function Documentation

◆ operator=()

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

No copy assignment.

References divScheme().

Here is the call graph for this function:

◆ type()

template<class Type>
virtual const word & type ( ) const
pure virtual

Runtime type information.

◆ declareRunTimeSelectionTable()

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

References divScheme(), and mesh().

Here is the call graph for this function:

◆ New()

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

Return a pointer to a new divScheme created on freestore.

Definition at line 43 of file divScheme.C.

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

Referenced by Foam::fvc::div().

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

◆ mesh()

◆ fvcDiv()

template<class Type>
virtual tmp< GeometricField< typename innerProduct< vector, Type >::type, fvPatchField, volMesh > > fvcDiv ( const GeometricField< Type, fvPatchField, volMesh > & )
pure virtual

Member Data Documentation

◆ mesh_

template<class Type>
const fvMesh& mesh_
protected

Definition at line 73 of file divScheme.H.

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

◆ tinterpScheme_

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

The documentation for this class was generated from the following files:
  • src/finiteVolume/finiteVolume/divSchemes/divScheme/divScheme.H
  • src/finiteVolume/finiteVolume/divSchemes/divScheme/divScheme.C