EulerD2dt2Scheme< Type > Class Template Reference

First-order Euler implicit d2dt2 using the current and two previous time-step values. More...

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

Public Member Functions

 TypeName ("Euler")
 Runtime type information. More...
 
 EulerD2dt2Scheme (const fvMesh &mesh)
 Construct from mesh. More...
 
 EulerD2dt2Scheme (const fvMesh &mesh, Istream &is)
 Construct from mesh and Istream. More...
 
const fvMeshmesh () const
 Return mesh reference. More...
 
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcD2dt2 (const GeometricField< Type, fvPatchField, volMesh > &)
 
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcD2dt2 (const volScalarField &, const GeometricField< Type, fvPatchField, volMesh > &)
 
tmp< fvMatrix< Type > > fvmD2dt2 (const GeometricField< Type, fvPatchField, volMesh > &)
 
tmp< fvMatrix< Type > > fvmD2dt2 (const dimensionedScalar &, const GeometricField< Type, fvPatchField, volMesh > &)
 
tmp< fvMatrix< Type > > fvmD2dt2 (const volScalarField &, const GeometricField< Type, fvPatchField, volMesh > &)
 
- Public Member Functions inherited from d2dt2Scheme< Type >
virtual const wordtype () const =0
 Runtime type information. More...
 
 declareRunTimeSelectionTable (tmp, d2dt2Scheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData))
 
 d2dt2Scheme (const fvMesh &mesh)
 Construct from mesh. More...
 
 d2dt2Scheme (const fvMesh &mesh, Istream &)
 Construct from mesh and Istream. More...
 
virtual ~d2dt2Scheme ()=default
 Destructor. More...
 
const fvMeshmesh () const
 Return mesh reference. More...
 
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 (const GeometricField< Type, fvPatchField, volMesh > &)=0
 
virtual tmp< fvMatrix< Type > > fvmD2dt2 (const dimensionedScalar &, const GeometricField< Type, fvPatchField, volMesh > &)=0
 
virtual tmp< fvMatrix< Type > > fvmD2dt2 (const volScalarField &, const GeometricField< Type, fvPatchField, volMesh > &)=0
 
- 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...
 

Additional Inherited Members

- Static Public Member Functions inherited from d2dt2Scheme< Type >
static tmp< d2dt2Scheme< Type > > New (const fvMesh &mesh, Istream &schemeData)
 Return a pointer to a new d2dt2Scheme created on freestore. More...
 
- Protected Member Functions inherited from d2dt2Scheme< Type >
 d2dt2Scheme (const d2dt2Scheme &)=delete
 No copy construct. More...
 
void operator= (const d2dt2Scheme &)=delete
 No copy assignment. More...
 
- Protected Attributes inherited from d2dt2Scheme< Type >
const fvMeshmesh_
 

Detailed Description

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

First-order Euler implicit d2dt2 using the current and two previous time-step values.

Source files

Definition at line 57 of file EulerD2dt2Scheme.H.

Constructor & Destructor Documentation

◆ EulerD2dt2Scheme() [1/2]

EulerD2dt2Scheme ( const fvMesh mesh)
inline

Construct from mesh.

Definition at line 79 of file EulerD2dt2Scheme.H.

◆ EulerD2dt2Scheme() [2/2]

EulerD2dt2Scheme ( const fvMesh mesh,
Istream is 
)
inline

Construct from mesh and Istream.

Definition at line 85 of file EulerD2dt2Scheme.H.

Member Function Documentation

◆ TypeName()

TypeName ( "Euler"  )

Runtime type information.

◆ mesh()

const fvMesh & mesh ( ) const
inline

Return mesh reference.

Definition at line 94 of file EulerD2dt2Scheme.H.

References d2dt2Scheme< Type >::mesh().

Here is the call graph for this function:

◆ fvcD2dt2() [1/2]

◆ fvcD2dt2() [2/2]

◆ fvmD2dt2() [1/3]

tmp< fvMatrix< Type > > fvmD2dt2 ( const GeometricField< Type, fvPatchField, volMesh > &  vf)
virtual

Implements d2dt2Scheme< Type >.

Definition at line 238 of file EulerD2dt2Scheme.C.

References lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), tmp< T >::ref(), fvMatrix< Type >::source(), and Foam::sqr().

Here is the call graph for this function:

◆ fvmD2dt2() [2/3]

tmp< fvMatrix< Type > > fvmD2dt2 ( const dimensionedScalar rho,
const GeometricField< Type, fvPatchField, volMesh > &  vf 
)
virtual

Implements d2dt2Scheme< Type >.

Definition at line 297 of file EulerD2dt2Scheme.C.

References lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), tmp< T >::ref(), rho, fvMatrix< Type >::source(), and Foam::sqr().

Here is the call graph for this function:

◆ fvmD2dt2() [3/3]

tmp< fvMatrix< Type > > fvmD2dt2 ( const volScalarField rho,
const GeometricField< Type, fvPatchField, volMesh > &  vf 
)
virtual

Implements d2dt2Scheme< Type >.

Definition at line 357 of file EulerD2dt2Scheme.C.

References lduMatrix::diag(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, Foam::dimVol, mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), tmp< T >::ref(), rho, fvMatrix< Type >::source(), and Foam::sqr().

Here is the call graph for this function:

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