|
| | Steady () |
| |
| | Steady (const Steady &)=delete |
| | Broken copy constructor. More...
|
| |
| void | operator= (const Steady &)=delete |
| | Broken assignment operator. More...
|
| |
| unsigned | order () const |
| |
| void | assign_initial_values_impulsive (Data *const &data_pt) |
| |
| void | assign_initial_positions_impulsive (Node *const &node_pt) |
| |
| void | assign_initial_data_values (Data *const &data_pt, Vector< InitialConditionFctPt > initial_value_fct) |
| |
| void | shift_time_values (Data *const &data_pt) |
| |
| void | shift_time_positions (Node *const &node_pt) |
| |
| void | set_weights () |
| | Set weights. More...
|
| |
| unsigned | nprev_values () const |
| | Number of previous values available. More...
|
| |
| unsigned | ndt () const |
| | Number of timestep increments that need to be stored by the scheme. More...
|
| |
| double | weight (const unsigned &i, const unsigned &j) const |
| | Dummy: Access function for j-th weight for the i-th derivative. More...
|
| |
| | TimeStepper (const unsigned &tstorage, const unsigned &max_deriv) |
| |
| | TimeStepper () |
| | Broken empty constructor. More...
|
| |
| | TimeStepper (const TimeStepper &)=delete |
| | Broken copy constructor. More...
|
| |
| void | operator= (const TimeStepper &)=delete |
| | Broken assignment operator. More...
|
| |
| virtual | ~TimeStepper () |
| | virtual destructor More...
|
| |
| unsigned | highest_derivative () const |
| | Highest order derivative that the scheme can compute. More...
|
| |
| double & | time () |
| | Return current value of continous time. More...
|
| |
| double | time () const |
| | Return current value of continous time. More...
|
| |
| virtual unsigned | nprev_values_for_value_at_evaluation_time () const |
| |
| void | make_steady () |
| |
| bool | is_steady () const |
| |
| bool | predict_by_explicit_step () const |
| |
| ExplicitTimeStepper * | explicit_predictor_pt () |
| |
| void | set_predictor_pt (ExplicitTimeStepper *_pred_pt) |
| |
| void | update_predicted_time (const double &new_time) |
| |
| void | check_predicted_values_up_to_date () const |
| | Check that the predicted values are the ones we want. More...
|
| |
| unsigned | predictor_storage_index () const |
| |
| void | enable_warning_in_assign_initial_data_values () |
| |
| void | disable_warning_in_assign_initial_data_values () |
| |
| const DenseMatrix< double > * | weights_pt () const |
| | Get a (const) pointer to the weights. More...
|
| |
| virtual void | undo_make_steady () |
| |
| std::string | type () const |
| |
| void | time_derivative (const unsigned &i, Data *const &data_pt, Vector< double > &deriv) |
| |
| double | time_derivative (const unsigned &i, Data *const &data_pt, const unsigned &j) |
| | Evaluate i-th derivative of j-th value in Data. More...
|
| |
| void | time_derivative (const unsigned &i, Node *const &node_pt, Vector< double > &deriv) |
| |
| double | time_derivative (const unsigned &i, Node *const &node_pt, const unsigned &j) |
| |
| Time *const & | time_pt () const |
| | Access function for the pointer to time (const version) More...
|
| |
| Time *& | time_pt () |
| |
| unsigned | ntstorage () const |
| |
| bool | adaptive_flag () const |
| | Function to indicate whether the scheme is adaptive (false by default) More...
|
| |
| virtual void | set_predictor_weights () |
| |
| virtual void | calculate_predicted_values (Data *const &data_pt) |
| |
| virtual void | calculate_predicted_positions (Node *const &node_pt) |
| |
| virtual void | set_error_weights () |
| |
| virtual double | temporal_error_in_position (Node *const &node_pt, const unsigned &i) |
| |
| virtual double | temporal_error_in_value (Data *const &data_pt, const unsigned &i) |
| |
| virtual void | actions_before_timestep (Problem *problem_pt) |
| |
| virtual void | actions_after_timestep (Problem *problem_pt) |
| |
template<unsigned NSTEPS>
class oomph::Steady< NSTEPS >
////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// Faux time-stepper for steady problems. Allows storage for NSTEPS previous values.
template<unsigned NSTEPS>
| void oomph::Steady< NSTEPS >::assign_initial_positions_impulsive |
( |
Node *const & |
node_pt | ) |
|
|
inlinevirtual |
template<unsigned NSTEPS>
| void oomph::Steady< NSTEPS >::assign_initial_values_impulsive |
( |
Data *const & |
data_pt | ) |
|
|
inlinevirtual |
template<unsigned NSTEPS>
This function advances the time history of the positions at a node.
Implements oomph::TimeStepper.
816 unsigned n_dim = node_pt->ndim();
818 unsigned n_position_type = node_pt->nposition_type();
821 for (
unsigned i = 0;
i < n_dim;
i++)
824 if (node_pt->position_is_a_copy(
i) ==
false)
826 for (
unsigned k = 0;
k < n_position_type;
k++)
829 for (
unsigned t = NSTEPS;
t > 0;
t--)
831 node_pt->x_gen(
t,
k,
i) = node_pt->x_gen(
t - 1,
k,
i);
References i, k, oomph::Node::ndim(), oomph::Node::nposition_type(), oomph::Node::position_is_a_copy(), plotPSD::t, and oomph::Node::x_gen().
template<unsigned NSTEPS>