divScheme< Type > Class Template Referenceabstract

Abstract base class for div schemes. More...

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

Public Member Functions

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

Protected Member Functions

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

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]

divScheme ( const divScheme< Type > &  )
protecteddelete

No copy construct.

◆ divScheme() [2/3]

divScheme ( const fvMesh mesh)
inline

Construct from mesh.

Definition at line 116 of file divScheme.H.

◆ divScheme() [3/3]

divScheme ( const fvMesh mesh,
Istream is 
)
inline

Construct from mesh and Istream.

Definition at line 125 of file divScheme.H.

◆ ~divScheme()

virtual ~divScheme ( )
virtualdefault

Destructor.

Member Function Documentation

◆ operator=()

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

No copy assignment.

◆ type()

virtual const word& type ( ) const
pure virtual

Runtime type information.

◆ declareRunTimeSelectionTable()

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

◆ New()

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

Return a pointer to a new divScheme created on freestore.

Definition at line 44 of file divScheme.C.

References Foam::ensightOutput::debug, 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()

const fvMesh& mesh ( ) const
inline

Return mesh reference.

Definition at line 155 of file divScheme.H.

References divScheme< Type >::mesh_.

◆ fvcDiv()

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

Implemented in gaussDivScheme< Type >.

Member Data Documentation

◆ mesh_

const fvMesh& mesh_
protected

Definition at line 74 of file divScheme.H.

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

◆ tinterpScheme_

tmp<surfaceInterpolationScheme<Type> > tinterpScheme_
protected

Definition at line 75 of file divScheme.H.


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