PetIBM 0.5.4
Toolbox and applications of the immersed-boundary method for distributed-memory architectures
petibm::timeintegration::Euler_Explicit Class Reference

An implementation of TimeIntegrationBase for 1st order explicit Euler. More...

#include <timeintegration.h>

Inheritance diagram for petibm::timeintegration::Euler_Explicit:
[legend]

Public Member Functions

 Euler_Explicit (const std::string &name)
 Constructor. More...
 
virtual ~Euler_Explicit ()=default
 Destructor. More...
 
PetscErrorCode printInfo () const
 Print information to standard output. More...
 

Public Attributes

const std::string name
 Name of current instance. More...
 
const std::string scheme
 Name of the scheme. More...
 
const PetscReal implicitCoeff
 Coefficient of implicit term. More...
 
const PetscInt nExplicit
 Number of explicit terms. More...
 
const type::RealVec1D explicitCoeffs
 Coefficients of explicit terms. More...
 

Detailed Description

An implementation of TimeIntegrationBase for 1st order explicit Euler.

See also
Time-integration schemes

Definition at line 100 of file timeintegration.h.

Constructor & Destructor Documentation

◆ Euler_Explicit()

petibm::timeintegration::Euler_Explicit::Euler_Explicit ( const std::string &  name)
inline

Constructor.

Parameters
name[in] the name of the instance.

Definition at line 107 of file timeintegration.h.

◆ ~Euler_Explicit()

virtual petibm::timeintegration::Euler_Explicit::~Euler_Explicit ( )
virtualdefault

Destructor.

Member Function Documentation

◆ printInfo()

PetscErrorCode petibm::timeintegration::TimeIntegrationBase::printInfo ( ) const
inherited

Print information to standard output.

Returns
PetscErrorCode.

Definition at line 15 of file timeintegration.cpp.

Member Data Documentation

◆ explicitCoeffs

const type::RealVec1D petibm::timeintegration::TimeIntegrationBase::explicitCoeffs
inherited

Coefficients of explicit terms.

Definition at line 60 of file timeintegration.h.

◆ implicitCoeff

const PetscReal petibm::timeintegration::TimeIntegrationBase::implicitCoeff
inherited

Coefficient of implicit term.

Definition at line 54 of file timeintegration.h.

◆ name

const std::string petibm::timeintegration::TimeIntegrationBase::name
inherited

Name of current instance.

Definition at line 48 of file timeintegration.h.

◆ nExplicit

const PetscInt petibm::timeintegration::TimeIntegrationBase::nExplicit
inherited

Number of explicit terms.

Definition at line 57 of file timeintegration.h.

◆ scheme

const std::string petibm::timeintegration::TimeIntegrationBase::scheme
inherited

Name of the scheme.

Definition at line 51 of file timeintegration.h.


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