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

#include <explicit_timesteppers.h>

+ Inheritance diagram for oomph::EBDF3:

Public Member Functions

 EBDF3 ()
 Constructor, set the type. More...
 
 EBDF3 (const EBDF3 &)
 Broken copy constructor. More...
 
void operator= (const EBDF3 &)
 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 &)
 Broken copy constructor. More...
 
void operator= (const ExplicitTimeStepper &)
 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 278 of file explicit_timesteppers.h.

Constructor & Destructor Documentation

oomph::EBDF3::EBDF3 ( )
inline

Constructor, set the type.

Definition at line 288 of file explicit_timesteppers.h.

oomph::EBDF3::EBDF3 ( const EBDF3 )
inline

Broken copy constructor.

Definition at line 291 of file explicit_timesteppers.h.

References oomph::BrokenCopy::broken_copy().

Member Function Documentation

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

Broken assignment operator.

Definition at line 297 of file explicit_timesteppers.h.

References oomph::BrokenCopy::broken_assign().

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 512 of file explicit_timesteppers.cc.

References Fn_weight, Yn_weight, Ynm1_weight, and Ynm2_weight.

Referenced by timestep().

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

Member Data Documentation

double oomph::EBDF3::Fn_weight
private

Definition at line 283 of file explicit_timesteppers.h.

Referenced by set_weights(), and timestep().

double oomph::EBDF3::Yn_weight
private

Definition at line 280 of file explicit_timesteppers.h.

Referenced by set_weights(), and timestep().

double oomph::EBDF3::Ynm1_weight
private

Definition at line 281 of file explicit_timesteppers.h.

Referenced by set_weights(), and timestep().

double oomph::EBDF3::Ynm2_weight
private

Definition at line 282 of file explicit_timesteppers.h.

Referenced by set_weights(), and timestep().


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