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

An implementation of TimeIntegrationBase for 2nd order Adams-Bashforth. More...

#include <timeintegration.h>

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

Public Member Functions

 Adams_Bashforth_2 (const std::string &name)
 Constructor. More...
 
virtual ~Adams_Bashforth_2 ()=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 2nd order Adams-Bashforth.

See also
Time-integration schemes

Definition at line 138 of file timeintegration.h.

Constructor & Destructor Documentation

◆ Adams_Bashforth_2()

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

Constructor.

Parameters
name[in] the name of the instance.

Definition at line 145 of file timeintegration.h.

◆ ~Adams_Bashforth_2()

virtual petibm::timeintegration::Adams_Bashforth_2::~Adams_Bashforth_2 ( )
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: