33 #ifndef OOMPH_EXPLICIT_TIMESTEPPERS 34 #define OOMPH_EXPLICIT_TIMESTEPPERS 38 #include <oomph-lib-config.h> 131 virtual double &
time();
209 template<
unsigned ORDER>
242 template<
unsigned ORDER>
302 void set_weights(
const double &dtn,
const double &dtnm1,
const double &dtnm2);
void broken_copy(const std::string &class_name)
Issue error message and terminate execution.
virtual void actions_after_explicit_timestep()
Empty virtual function that can be overloaded to do anything needed after an explicit step...
ExplicitTimeSteppableObject(const ExplicitTimeSteppableObject &)
Broken copy constructor.
virtual double & time()
Broken virtual function that should be overloaded to return access to the local time in the object...
Class to keep track of discrete/continous time. It is essential to have a single Time object when usi...
void operator=(const ExplicitTimeStepper &)
Broken assignment operator.
virtual void set_dofs(const DoubleVector &dofs)
Function that sets the values of the dofs in the object.
virtual void actions_after_explicit_stage()
Empty virtual function that should be overloaded to update and slaved data or boundary conditions tha...
virtual ~ExplicitTimeStepper()
Empty virtual destructor — no memory is allocated in this class.
void operator=(const Euler &)
Broken assignment operator.
virtual void actions_before_explicit_stage()
Empty virtual function to do anything needed before a stage of an explicit time step (Runge-Kutta ste...
void operator=(const LowStorageRungeKutta &)
Broken assignment operator.
RungeKutta()
Constructor, set the type.
ExplicitTimeSteppableObject()
Empty constructor.
Euler()
Constructor, set the type.
virtual Time * time_pt() const
Virtual function that should be overloaded to return a pointer to a Time object.
ExplicitTimeStepper()
Empty Constructor.
virtual void actions_before_explicit_timestep()
Empty virtual function that can be overloaded to do anything needed before an explicit step...
virtual void add_to_dofs(const double &lambda, const DoubleVector &increment_dofs)
Function that adds the values to the dofs.
void operator=(const ExplicitTimeSteppableObject &)
Broken assignment operator.
Euler(const Euler &)
Broken copy constructor.
RungeKutta(const RungeKutta &)
Broken copy constructor.
virtual void get_dofs(DoubleVector &dofs) const
Function that gets the values of the dofs in the object.
void broken_assign(const std::string &class_name)
Issue error message and terminate execution.
void operator=(const RungeKutta &)
Broken assignment operator.
EBDF3(const EBDF3 &)
Broken copy constructor.
std::string string(const unsigned &i)
Return the i-th string or "" if the relevant string hasn't been defined.
A vector in the mathematical sense, initially developed for linear algebra type applications. If MPI then this vector can be distributed - its distribution is described by the LinearAlgebraDistribution object at Distribution_pt. Data is stored in a C-style pointer vector (double*)
LowStorageRungeKutta(const LowStorageRungeKutta &)
Broken copy constructor.
virtual void get_dvaluesdt(DoubleVector &minv_res)
A single virtual function that returns the residuals vector multiplied by the inverse mass matrix...
virtual ~ExplicitTimeSteppableObject()
Empty destructor.
EBDF3()
Constructor, set the type.
A Base class for explicit timesteppers.
static double Dummy_time_value
Dummy value of time always set to zero.
void operator=(const EBDF3 &)
Broken assignment operator.
ExplicitTimeStepper(const ExplicitTimeStepper &)
Broken copy constructor.
std::string Type
String that indicates the type of the timestepper (e.g. "RungeKutta", etc.)