26 #ifndef OOMPH_IMPLICIT_MIDPOINT_RULE_H
27 #define OOMPH_IMPLICIT_MIDPOINT_RULE_H
52 Type =
"Midpoint method";
int i
Definition: BiCGSTAB_step_by_step.cpp:9
void resize(const unsigned long &n)
Definition: matrices.h:498
Implicit midpoint rule base class for the two implementations.
Definition: implicit_midpoint_rule.h:44
virtual ~IMRBase()
Destructor.
Definition: implicit_midpoint_rule.h:81
void calculate_predicted_values(Data *const &data_pt)
Definition: implicit_midpoint_rule.cc:111
void assign_initial_values_impulsive(Data *const &data_pt)
not implemented (??ds TODO)
Definition: implicit_midpoint_rule.h:125
void shift_time_values(Data *const &data_pt)
Definition: implicit_midpoint_rule.cc:39
virtual void set_weights()=0
Setup weights for time derivative calculations.
void shift_time_positions(Node *const &node_pt)
Definition: implicit_midpoint_rule.cc:57
void set_predictor_weights()
Definition: implicit_midpoint_rule.h:122
double temporal_error_in_position(Node *const &node_pt, const unsigned &i)
Definition: implicit_midpoint_rule.h:146
unsigned ndt() const
Number of timestep increments that are required by the scheme.
Definition: implicit_midpoint_rule.h:97
void set_error_weights()
Definition: implicit_midpoint_rule.h:118
unsigned order() const
Actual order (accuracy) of the scheme.
Definition: implicit_midpoint_rule.h:91
virtual unsigned nprev_values_for_value_at_evaluation_time() const =0
unsigned nprev_values() const
??ds
Definition: implicit_midpoint_rule.h:103
double temporal_error_in_value(Data *const &data_pt, const unsigned &i)
Definition: implicit_midpoint_rule.cc:122
void calculate_predicted_positions(Node *const &node_pt)
Definition: implicit_midpoint_rule.h:139
void assign_initial_positions_impulsive(Node *const &node_pt)
Definition: implicit_midpoint_rule.h:131
IMRBase(const bool &adaptive=false)
Constructor with initialisation.
Definition: implicit_midpoint_rule.h:47
Definition: implicit_midpoint_rule.h:220
void operator=(const IMRByBDF &dummy)
Inaccessible assignment operator.
Definition: implicit_midpoint_rule.h:263
bool Update_pinned
Should we update pinned variables after the half-step?
Definition: implicit_midpoint_rule.h:256
void actions_after_timestep(Problem *problem_pt)
Definition: implicit_midpoint_rule.cc:204
unsigned nprev_values_for_value_at_evaluation_time() const
Definition: implicit_midpoint_rule.h:243
void set_weights()
Setup weights for time derivative calculations.
Definition: implicit_midpoint_rule.h:232
IMRByBDF(const IMRByBDF &dummy)
Inaccessible copy constructor.
Definition: implicit_midpoint_rule.h:260
IMRByBDF(const bool &adaptive=false)
Constructor with initialisation.
Definition: implicit_midpoint_rule.h:223
virtual ~IMRByBDF()
Destructor.
Definition: implicit_midpoint_rule.h:229
void actions_before_timestep(Problem *problem_pt)
Half the timestep before starting solve.
Definition: implicit_midpoint_rule.cc:140
Definition: implicit_midpoint_rule.h:167
IMR(const IMR &dummy)
Inaccessible copy constructor.
Definition: implicit_midpoint_rule.h:205
virtual ~IMR()
Destructor, predictor_pt handled by base.
Definition: implicit_midpoint_rule.h:179
void operator=(const IMR &dummy)
Inaccessible assignment operator.
Definition: implicit_midpoint_rule.h:208
unsigned nprev_values_for_value_at_evaluation_time() const
Definition: implicit_midpoint_rule.h:198
IMR(const bool &adaptive=false)
Constructor with initialisation.
Definition: implicit_midpoint_rule.h:176
void set_weights()
Setup weights for time derivative calculations.
Definition: implicit_midpoint_rule.h:182
Definition: oomph_definitions.h:222
Definition: problem.h:151
Definition: timesteppers.h:231
DenseMatrix< double > Weight
Storage for the weights associated with the timestepper.
Definition: timesteppers.h:237
bool Predict_by_explicit_step
Definition: timesteppers.h:260
Time * Time_pt
Pointer to discrete time storage scheme.
Definition: timesteppers.h:234
std::string Type
Definition: timesteppers.h:241
bool Is_steady
Definition: timesteppers.h:251
int Predictor_storage_index
Definition: timesteppers.h:273
bool Adaptive_Flag
Definition: timesteppers.h:245
double & dt(const unsigned &t=0)
Definition: timesteppers.h:136
int adaptive
Definition: jeffery_hamel.cc:106
std::string string(const unsigned &i)
Definition: oomph_definitions.cc:286
DRAIG: Change all instances of (SPATIAL_DIM) to (DIM-1).
Definition: AnisotropicHookean.h:10
#define OOMPH_EXCEPTION_LOCATION
Definition: oomph_definitions.h:61
#define OOMPH_CURRENT_FUNCTION
Definition: oomph_definitions.h:86