laplacianScheme< Type > Class Template Referenceabstract

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

Inheritance diagram for laplacianScheme< Type >:
[legend]
Collaboration diagram for laplacianScheme< Type >:
[legend]

Public Member Functions

 declareRunTimeSelectionTable (tmp, laplacianScheme, Istream,(const faMesh &mesh, Istream &schemeData),(mesh, schemeData))
 
 laplacianScheme (const faMesh &mesh)
 Construct from mesh. More...
 
 laplacianScheme (const faMesh &mesh, Istream &is)
 Construct from mesh and Istream. More...
 
virtual ~laplacianScheme ()
 Destructor. More...
 
const faMeshmesh () const
 Return mesh reference. More...
 
virtual tmp< faMatrix< Type > > famLaplacian (const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)=0
 
virtual tmp< faMatrix< Type > > famLaplacian (const areaScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)
 
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facLaplacian (const GeometricField< Type, faPatchField, areaMesh > &)=0
 
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facLaplacian (const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)=0
 
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facLaplacian (const areaScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)
 
- Public Member Functions inherited from refCount
constexpr refCount () noexcept
 Default construct, initializing count to 0. More...
 
int 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< laplacianScheme< Type > > New (const faMesh &mesh, Istream &schemeData)
 Return a pointer to a new laplacianScheme created on freestore. More...
 

Protected Member Functions

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

Protected Attributes

const faMeshmesh_
 
tmp< edgeInterpolationScheme< scalar > > tinterpGammaScheme_
 
tmp< lnGradScheme< Type > > tlnGradScheme_
 

Detailed Description

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

Abstract base class for finite area calculus laplacian schemes.

Source files

Definition at line 68 of file faLaplacianScheme.H.

Constructor & Destructor Documentation

◆ laplacianScheme() [1/3]

laplacianScheme ( const laplacianScheme< Type > &  )
protecteddelete

No copy construct.

◆ laplacianScheme() [2/3]

laplacianScheme ( const faMesh mesh)
inline

Construct from mesh.

Definition at line 108 of file faLaplacianScheme.H.

◆ laplacianScheme() [3/3]

laplacianScheme ( const faMesh mesh,
Istream is 
)
inline

Construct from mesh and Istream.

Definition at line 116 of file faLaplacianScheme.H.

References IOstream::eof(), laplacianScheme< Type >::mesh(), Time::New(), laplacianScheme< Type >::tinterpGammaScheme_, and laplacianScheme< Type >::tlnGradScheme_.

Here is the call graph for this function:

◆ ~laplacianScheme()

~laplacianScheme
virtual

Destructor.

Definition at line 90 of file faLaplacianScheme.C.

Member Function Documentation

◆ operator=()

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

No copy assignment.

◆ declareRunTimeSelectionTable()

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

◆ New()

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

Return a pointer to a new laplacianScheme created on freestore.

Definition at line 46 of file faLaplacianScheme.C.

References 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
inline

Return mesh reference.

Definition at line 166 of file faLaplacianScheme.H.

References laplacianScheme< Type >::mesh_.

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

Here is the caller graph for this function:

◆ famLaplacian() [1/2]

virtual tmp< faMatrix< Type > > famLaplacian ( const edgeScalarField ,
const GeometricField< Type, faPatchField, areaMesh > &   
)
pure virtual

◆ famLaplacian() [2/2]

tmp< faMatrix< Type > > famLaplacian ( const areaScalarField gamma,
const GeometricField< Type, faPatchField, areaMesh > &  vf 
)
virtual

Definition at line 98 of file faLaplacianScheme.C.

References gamma, and Foam::interpolate().

Here is the call graph for this function:

◆ facLaplacian() [1/3]

virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facLaplacian ( const GeometricField< Type, faPatchField, areaMesh > &  )
pure virtual

◆ facLaplacian() [2/3]

virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facLaplacian ( const edgeScalarField ,
const GeometricField< Type, faPatchField, areaMesh > &   
)
pure virtual

◆ facLaplacian() [3/3]

tmp< GeometricField< Type, faPatchField, areaMesh > > facLaplacian ( const areaScalarField gamma,
const GeometricField< Type, faPatchField, areaMesh > &  vf 
)
virtual

Definition at line 110 of file faLaplacianScheme.C.

References gamma, and Foam::interpolate().

Here is the call graph for this function:

Member Data Documentation

◆ mesh_

const faMesh& mesh_
protected

Definition at line 77 of file faLaplacianScheme.H.

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

◆ tinterpGammaScheme_

tmp<edgeInterpolationScheme<scalar> > tinterpGammaScheme_
protected

Definition at line 78 of file faLaplacianScheme.H.

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

◆ tlnGradScheme_

tmp<lnGradScheme<Type> > tlnGradScheme_
protected

Definition at line 79 of file faLaplacianScheme.H.

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


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