Public Member Functions | Private Attributes | List of all members
oomph::EBDF3 Class Reference

=========================================================== An explicit version of BDF3 (i.e. uses derivative evaluation at y_n instead of y_{n+1}). Useful as a predictor because it is third order accurate but requires only one function evaluation (i.e. only one mass matrix inversion + residual calculation). More...

#include <explicit_timesteppers.h>

+ Inheritance diagram for oomph::EBDF3:

Public Member Functions

 EBDF3 ()
 Constructor, set the type. More...
 
 EBDF3 (const EBDF3 &)=delete
 Broken copy constructor. More...
 
void operator= (const EBDF3 &)=delete
 Broken assignment operator. More...
 
void set_weights (const double &dtn, const double &dtnm1, const double &dtnm2)
 Calculate the weights for this set of step sizes. More...
 
void timestep (ExplicitTimeSteppableObject *const &object_pt, const double &dt)
 Function that is used to advance the solution by time dt. More...
 
- Public Member Functions inherited from oomph::ExplicitTimeStepper
 ExplicitTimeStepper ()
 Empty Constructor. More...
 
 ExplicitTimeStepper (const ExplicitTimeStepper &)=delete
 Broken copy constructor. More...
 
void operator= (const ExplicitTimeStepper &)=delete
 Broken assignment operator. More...
 
virtual ~ExplicitTimeStepper ()
 Empty virtual destructor — no memory is allocated in this class. More...
 

Private Attributes

double Yn_weight
 
double Ynm1_weight
 
double Ynm2_weight
 
double Fn_weight
 

Additional Inherited Members

- Protected Attributes inherited from oomph::ExplicitTimeStepper
std::string Type
 String that indicates the type of the timestepper (e.g. "RungeKutta", etc.) More...
 

Detailed Description

=========================================================== An explicit version of BDF3 (i.e. uses derivative evaluation at y_n instead of y_{n+1}). Useful as a predictor because it is third order accurate but requires only one function evaluation (i.e. only one mass matrix inversion + residual calculation).

Definition at line 239 of file explicit_timesteppers.h.

Constructor & Destructor Documentation

◆ EBDF3() [1/2]

oomph::EBDF3::EBDF3 ( )
inline

Constructor, set the type.

Definition at line 248 of file explicit_timesteppers.h.

◆ EBDF3() [2/2]

oomph::EBDF3::EBDF3 ( const EBDF3 )
delete

Broken copy constructor.

Member Function Documentation

◆ operator=()

void oomph::EBDF3::operator= ( const EBDF3 )
delete

Broken assignment operator.

◆ set_weights()

void oomph::EBDF3::set_weights ( const double &  dtn,
const double &  dtnm1,
const double &  dtnm2 
)

Calculate the weights for this set of step sizes.

Definition at line 494 of file explicit_timesteppers.cc.

References Fn_weight, Yn_weight, Ynm1_weight, and Ynm2_weight.

Referenced by timestep().

◆ timestep()

void oomph::EBDF3::timestep ( ExplicitTimeSteppableObject *const &  object_pt,
const double &  dt 
)
virtual

Member Data Documentation

◆ Fn_weight

double oomph::EBDF3::Fn_weight
private

Definition at line 244 of file explicit_timesteppers.h.

Referenced by set_weights(), and timestep().

◆ Yn_weight

double oomph::EBDF3::Yn_weight
private

Definition at line 241 of file explicit_timesteppers.h.

Referenced by set_weights(), and timestep().

◆ Ynm1_weight

double oomph::EBDF3::Ynm1_weight
private

Definition at line 242 of file explicit_timesteppers.h.

Referenced by set_weights(), and timestep().

◆ Ynm2_weight

double oomph::EBDF3::Ynm2_weight
private

Definition at line 243 of file explicit_timesteppers.h.

Referenced by set_weights(), and timestep().


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