16 #include "gretl/double_state.hpp"
31 virtual std::pair<std::vector<FieldState>, std::vector<ReactionState>>
advanceState(
32 const TimeInfo& time_info,
const FieldState& shape_disp,
const std::vector<FieldState>& states,
33 const std::vector<FieldState>& params)
const = 0;
43 return TimeInfo(t.get(), dt.get(), cycle);
Base state advancer class, allows specification for quasi-static solve strategies,...
virtual ~StateAdvancer()
destructor
virtual std::pair< std::vector< FieldState >, std::vector< ReactionState > > advanceState(const TimeInfo &time_info, const FieldState &shape_disp, const std::vector< FieldState > &states, const std::vector< FieldState > ¶ms) const =0
interface method to advance the states from a given cycle and time, to the next cycle (cycle+1) and t...
A file defining some enums and structs that are used by the different physics modules.
Accelerator functionality.
gretl::State< double, double > DoubleState
typedef
gretl::State< FEFieldPtr, FEDualPtr > FieldState
typedef
TimeInfo create_time_info(DoubleState t, DoubleState dt, size_t cycle)
creates a time info struct from gretl::State<double>
struct storing time and timestep information