PetIBM 0.5.4
Toolbox and applications of the immersed-boundary method for distributed-memory architectures
Time-integration schemes

Objects holding informations of time-integration schemes. More...

Collaboration diagram for Time-integration schemes:

Classes

class  petibm::timeintegration::Euler_Explicit
 An implementation of TimeIntegrationBase for 1st order explicit Euler. More...
 
class  petibm::timeintegration::Euler_Implicit
 An implementation of TimeIntegrationBase for 1st order implicit Euler. More...
 
class  petibm::timeintegration::Adams_Bashforth_2
 An implementation of TimeIntegrationBase for 2nd order Adams-Bashforth. More...
 
class  petibm::timeintegration::Crank_Nicolson
 An implementation of TimeIntegrationBase for 2nd order Crank-Nicolson. More...
 
class  petibm::timeintegration::TimeIntegrationBase
 Base (abstract) class that stores information of temporal integration. More...
 

Typedefs

typedef std::shared_ptr< timeintegration::TimeIntegrationBasepetibm::type::TimeIntegration
 Definition of type::TimeIntegration. More...
 

Functions

PetscErrorCode petibm::timeintegration::createTimeIntegration (const std::string &name, const YAML::Node &node, type::TimeIntegration &integration)
 factory function for type::TimeIntegration. More...
 

Detailed Description

Objects holding informations of time-integration schemes.

API users should use petibm::timeintegration::createTimeIntegration to create desired instances.

See also
petibm::timeintegration::createTimeIntegration, petibm::type::TimeIntegration

Typedef Documentation

◆ TimeIntegration

Function Documentation

◆ createTimeIntegration()

PetscErrorCode petibm::timeintegration::createTimeIntegration ( const std::string &  name,
const YAML::Node &  node,
type::TimeIntegration integration 
)

factory function for type::TimeIntegration.

Parameters
name[in] name of the instance.
node[in] YAML::Node of all configuration.
integration[out] resulting TimeIntegration object.
Returns
PetscErrorCode.
See also
Time-integration schemes, petibm::type::TimeIntegration

Definition at line 40 of file timeintegration.cpp.