=========================================================== 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>
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... | |
=========================================================== 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.
|
inline |
Constructor, set the type.
Definition at line 248 of file explicit_timesteppers.h.
|
delete |
Broken copy constructor.
|
delete |
Broken assignment operator.
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().
|
virtual |
Function that is used to advance the solution by time dt.
Implements oomph::ExplicitTimeStepper.
Definition at line 427 of file explicit_timesteppers.cc.
References oomph::ExplicitTimeSteppableObject::actions_after_explicit_stage(), oomph::ExplicitTimeSteppableObject::actions_after_explicit_timestep(), oomph::ExplicitTimeSteppableObject::actions_before_explicit_stage(), oomph::ExplicitTimeSteppableObject::actions_before_explicit_timestep(), oomph::Time::dt(), e, Fn_weight, oomph::ExplicitTimeSteppableObject::get_dofs(), oomph::ExplicitTimeSteppableObject::get_dvaluesdt(), oomph::ExplicitTimeSteppableObject::set_dofs(), set_weights(), oomph::Global_string_for_annotation::string(), oomph::ExplicitTimeSteppableObject::time(), oomph::ExplicitTimeSteppableObject::time_pt(), oomph::StringConversion::to_string(), Yn_weight, Ynm1_weight, and Ynm2_weight.
|
private |
Definition at line 244 of file explicit_timesteppers.h.
Referenced by set_weights(), and timestep().
|
private |
Definition at line 241 of file explicit_timesteppers.h.
Referenced by set_weights(), and timestep().
|
private |
Definition at line 242 of file explicit_timesteppers.h.
Referenced by set_weights(), and timestep().
|
private |
Definition at line 243 of file explicit_timesteppers.h.
Referenced by set_weights(), and timestep().