EulerFaD2dt2Scheme< Type > Class Template Reference

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

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

Public Member Functions

 TypeName ("Euler")
 Runtime type information. More...
 
 EulerFaD2dt2Scheme (const faMesh &mesh)
 Construct from mesh. More...
 
 EulerFaD2dt2Scheme (const faMesh &mesh, Istream &is)
 Construct from mesh and Istream. More...
 
const faMeshmesh () const
 Return mesh reference. More...
 
tmp< GeometricField< Type, faPatchField, areaMesh > > facD2dt2 (const dimensioned< Type >)
 
tmp< GeometricField< Type, faPatchField, areaMesh > > facD2dt2 (const GeometricField< Type, faPatchField, areaMesh > &)
 
tmp< GeometricField< Type, faPatchField, areaMesh > > facD2dt2 (const dimensionedScalar &, const GeometricField< Type, faPatchField, areaMesh > &)
 
tmp< GeometricField< Type, faPatchField, areaMesh > > facD2dt2 (const areaScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)
 
tmp< faMatrix< Type > > famD2dt2 (const GeometricField< Type, faPatchField, areaMesh > &)
 
tmp< faMatrix< Type > > famD2dt2 (const dimensionedScalar &, const GeometricField< Type, faPatchField, areaMesh > &)
 
tmp< faMatrix< Type > > famD2dt2 (const areaScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)
 
- Public Member Functions inherited from faD2dt2Scheme< Type >
virtual const wordtype () const =0
 Runtime type information. More...
 
 declareRunTimeSelectionTable (tmp, faD2dt2Scheme, Istream,(const faMesh &mesh, Istream &schemeData),(mesh, schemeData))
 
 faD2dt2Scheme (const faMesh &mesh)
 Construct from mesh. More...
 
 faD2dt2Scheme (const faMesh &mesh, Istream &)
 Construct from mesh and Istream. More...
 
virtual ~faD2dt2Scheme ()
 Destructor. More...
 
const faMeshmesh () const
 Return mesh reference. More...
 
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facD2dt2 (const dimensioned< Type >)=0
 
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facD2dt2 (const GeometricField< Type, faPatchField, areaMesh > &)=0
 
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facD2dt2 (const dimensionedScalar &, const GeometricField< Type, faPatchField, areaMesh > &)=0
 
virtual tmp< GeometricField< Type, faPatchField, areaMesh > > facD2dt2 (const areaScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)=0
 
virtual tmp< faMatrix< Type > > famD2dt2 (const GeometricField< Type, faPatchField, areaMesh > &)=0
 
virtual tmp< faMatrix< Type > > famD2dt2 (const dimensionedScalar &, const GeometricField< Type, faPatchField, areaMesh > &)=0
 
virtual tmp< faMatrix< Type > > famD2dt2 (const areaScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)=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 faD2dt2Scheme< Type >
static tmp< faD2dt2Scheme< Type > > New (const faMesh &mesh, Istream &schemeData)
 Return a pointer to a new d2dt2Scheme created on freestore. More...
 
- Protected Member Functions inherited from faD2dt2Scheme< Type >
 faD2dt2Scheme (const faD2dt2Scheme &)=delete
 No copy construct. More...
 
void operator= (const faD2dt2Scheme &)=delete
 No copy assignment. More...
 
- Protected Attributes inherited from faD2dt2Scheme< Type >
const faMeshmesh_
 

Detailed Description

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

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

Source files

Definition at line 57 of file EulerFaD2dt2Scheme.H.

Constructor & Destructor Documentation

◆ EulerFaD2dt2Scheme() [1/2]

EulerFaD2dt2Scheme ( const faMesh mesh)
inline

Construct from mesh.

Definition at line 85 of file EulerFaD2dt2Scheme.H.

◆ EulerFaD2dt2Scheme() [2/2]

EulerFaD2dt2Scheme ( const faMesh mesh,
Istream is 
)
inline

Construct from mesh and Istream.

Definition at line 91 of file EulerFaD2dt2Scheme.H.

Member Function Documentation

◆ TypeName()

TypeName ( "Euler"  )

Runtime type information.

◆ mesh()

const faMesh & mesh ( ) const
inline

Return mesh reference.

Definition at line 100 of file EulerFaD2dt2Scheme.H.

References faD2dt2Scheme< Type >::mesh().

Here is the call graph for this function:

◆ facD2dt2() [1/4]

tmp< GeometricField< Type, faPatchField, areaMesh > > facD2dt2 ( const dimensioned< Type >  dt)
virtual

Implements faD2dt2Scheme< Type >.

Definition at line 60 of file EulerFaD2dt2Scheme.C.

References dimensioned< Type >::dimensions(), Foam::dimTime, mesh, dimensioned< Type >::name(), IOobject::NO_READ, IOobject::NO_WRITE, tmp< T >::ref(), Foam::sqr(), timeName, dimensioned< Type >::value(), and Foam::Zero.

Here is the call graph for this function:

◆ facD2dt2() [2/4]

◆ facD2dt2() [3/4]

◆ facD2dt2() [4/4]

◆ famD2dt2() [1/3]

tmp< faMatrix< Type > > famD2dt2 ( const GeometricField< Type, faPatchField, areaMesh > &  vf)
virtual

Implements faD2dt2Scheme< Type >.

Definition at line 403 of file EulerFaD2dt2Scheme.C.

References Foam::dimArea, DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimTime, mesh, GeometricField< Type, PatchField, GeoMesh >::oldTime(), tmp< T >::ref(), and Foam::sqr().

Here is the call graph for this function:

◆ famD2dt2() [2/3]

tmp< faMatrix< Type > > famD2dt2 ( const dimensionedScalar rho,
const GeometricField< Type, faPatchField, areaMesh > &  vf 
)
virtual

Implements faD2dt2Scheme< Type >.

Definition at line 462 of file EulerFaD2dt2Scheme.C.

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

Here is the call graph for this function:

◆ famD2dt2() [3/3]

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

Implements faD2dt2Scheme< Type >.

Definition at line 523 of file EulerFaD2dt2Scheme.C.

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

Here is the call graph for this function:

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