FreeFOAM The Cross-Platform CFD Toolkit
d2dt2Scheme< Type > Class Template Reference

Abstract base class for d2dt2 schemes. More...

#include <finiteVolume/d2dt2Scheme.H>


Detailed Description

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

Abstract base class for d2dt2 schemes.

Source files

Definition at line 65 of file d2dt2Scheme.H.

+ Inheritance diagram for d2dt2Scheme< Type >:
+ Collaboration diagram for d2dt2Scheme< Type >:

List of all members.

Public Member Functions

virtual const wordtype () const =0
 Runtime type information.
 declareRunTimeSelectionTable (tmp, d2dt2Scheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData))
 d2dt2Scheme (const fvMesh &mesh)
 Construct from mesh.
 d2dt2Scheme (const fvMesh &mesh, Istream &)
 Construct from mesh and Istream.
virtual ~d2dt2Scheme ()
const fvMeshmesh () const
 Return mesh reference.
virtual tmp< GeometricField
< Type, fvPatchField, volMesh > > 
fvcD2dt2 (const GeometricField< Type, fvPatchField, volMesh > &)=0
virtual tmp< GeometricField
< Type, fvPatchField, volMesh > > 
fvcD2dt2 (const volScalarField &, const GeometricField< Type, fvPatchField, volMesh > &)=0
virtual tmp< fvMatrix< Type > > fvmD2dt2 (GeometricField< Type, fvPatchField, volMesh > &)=0
virtual tmp< fvMatrix< Type > > fvmD2dt2 (const dimensionedScalar &, GeometricField< Type, fvPatchField, volMesh > &)=0
virtual tmp< fvMatrix< Type > > fvmD2dt2 (const volScalarField &, GeometricField< Type, fvPatchField, volMesh > &)=0
- Public Member Functions inherited from refCount
 refCount ()
 Construct null with zero count.
int count () const
 Return the reference count.
bool okToDelete () const
 Return true if the reference count is zero.
void resetRefCount ()
 Reset the reference count to zero.
void operator++ ()
 Increment the reference count.
void operator++ (int)
 Increment the reference count.
void operator-- ()
 Decrement the reference count.
void operator-- (int)
 Decrement the reference count.

Static Public Member Functions

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

Protected Member Functions

 d2dt2Scheme (const d2dt2Scheme &)
 Disallow copy construct.
void operator= (const d2dt2Scheme &)
 Disallow default bitwise assignment.

Protected Attributes

const fvMeshmesh_

Constructor & Destructor Documentation

d2dt2Scheme ( const d2dt2Scheme< Type > &  )
protected

Disallow copy construct.

d2dt2Scheme ( const fvMesh mesh)
inline

Construct from mesh.

Definition at line 107 of file d2dt2Scheme.H.

d2dt2Scheme ( const fvMesh mesh,
Istream  
)
inline

Construct from mesh and Istream.

Definition at line 113 of file d2dt2Scheme.H.

~d2dt2Scheme ( )
virtual

Definition at line 94 of file d2dt2Scheme.C.


Member Function Documentation

void operator= ( const d2dt2Scheme< Type > &  )
protected

Disallow default bitwise assignment.

virtual const word& type ( ) const
pure virtual

Runtime type information.

declareRunTimeSelectionTable ( tmp  ,
d2dt2Scheme< Type >  ,
Istream  ,
(const fvMesh &mesh, Istream &schemeData)  ,
(mesh, schemeData)   
)
tmp< d2dt2Scheme< Type > > New ( const fvMesh mesh,
Istream schemeData 
)
static

Return a pointer to a new d2dt2Scheme created on freestore.

Definition at line 46 of file d2dt2Scheme.C.

References Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorIn, Foam::Info, and mesh.

const fvMesh& mesh ( ) const
inline

Return mesh reference.

Reimplemented in EulerD2dt2Scheme< Type >, and steadyStateD2dt2Scheme< Type >.

Definition at line 137 of file d2dt2Scheme.H.

References d2dt2Scheme< Type >::mesh_.

virtual tmp<GeometricField<Type, fvPatchField, volMesh> > fvcD2dt2 ( const GeometricField< Type, fvPatchField, volMesh > &  )
pure virtual
virtual tmp<GeometricField<Type, fvPatchField, volMesh> > fvcD2dt2 ( const volScalarField ,
const GeometricField< Type, fvPatchField, volMesh > &   
)
pure virtual
virtual tmp<fvMatrix<Type> > fvmD2dt2 ( GeometricField< Type, fvPatchField, volMesh > &  )
pure virtual
virtual tmp<fvMatrix<Type> > fvmD2dt2 ( const dimensionedScalar ,
GeometricField< Type, fvPatchField, volMesh > &   
)
pure virtual
virtual tmp<fvMatrix<Type> > fvmD2dt2 ( const volScalarField ,
GeometricField< Type, fvPatchField, volMesh > &   
)
pure virtual

Member Data Documentation

const fvMesh& mesh_
protected

Definition at line 74 of file d2dt2Scheme.H.

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


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