52 SuccessCode
Step(Predictor predictor_choice,
53 Vec<ComplexType> & next_space, ComplexType & next_time,
55 Vec<ComplexType>
const& current_space, ComplexType current_time,
56 ComplexType
const& delta_t,
57 RealType & condition_number_estimate,
58 unsigned & num_steps_since_last_condition_number_computation,
59 unsigned frequency_of_CN_estimation, PrecisionType prec_type,
60 RealType
const& tracking_tolerance,
61 RealType
const& path_truncation_threshold,
62 unsigned min_num_newton_iterations,
63 unsigned max_num_newton_iterations,
67 SuccessCode predictor_code =
Predict(next_space,
69 current_space, current_time,
71 condition_number_estimate,
72 num_steps_since_last_condition_number_computation,
73 frequency_of_CN_estimation, prec_type,
77 if (predictor_code!=SuccessCode::Success)
78 return predictor_code;
80 next_time = current_time + delta_t;
82 SuccessCode corrector_code = Correct(next_space,
88 path_truncation_threshold,
89 min_num_newton_iterations,
90 max_num_newton_iterations,
94 if (corrector_code!=SuccessCode::Success)
95 return corrector_code;
97 return SuccessCode::Success;
SuccessCode Predict(Predictor predictor_choice, Vec< ComplexT > &next_space, System const &sys, Vec< ComplexT > const ¤t_space, ComplexT const ¤t_time, ComplexT const &delta_t, TolT &condition_number_estimate, unsigned &num_steps_since_last_condition_number_computation, unsigned frequency_of_CN_estimation, TolT const &tracking_tolerance)
Definition predict.hpp:60
SuccessCode Step(Predictor predictor_choice, Vec< ComplexType > &next_space, ComplexType &next_time, System &sys, Vec< ComplexType > const ¤t_space, ComplexType current_time, ComplexType const &delta_t, RealType &condition_number_estimate, unsigned &num_steps_since_last_condition_number_computation, unsigned frequency_of_CN_estimation, PrecisionType prec_type, RealType const &tracking_tolerance, RealType const &path_truncation_threshold, unsigned min_num_newton_iterations, unsigned max_num_newton_iterations, AdaptiveMultiplePrecisionConfig const &_config)
Definition step.hpp:52