34 #ifndef __H__UG__LIB_DISC__TIME_DISC__FINISHED_CONDITIONS
35 #define __H__UG__LIB_DISC__TIME_DISC__FINISHED_CONDITIONS
Definition: smart_pointer.h:108
Definition: finished_conditions.hpp:53
std::vector< cond_type > m_conditions
Definition: finished_conditions.hpp:77
void add_condition(cond_type condition)
Definition: finished_conditions.hpp:70
FinishedTester()
Definition: finished_conditions.hpp:56
bool is_finished(number time, int step)
Definition: finished_conditions.hpp:58
SmartPtr< IFinishedCondition > cond_type
Definition: finished_conditions.hpp:55
Definition: finished_conditions.hpp:46
virtual ~IFinishedCondition()
Definition: finished_conditions.hpp:49
virtual bool check_finished(number time, int step)
Definition: finished_conditions.hpp:48
Definition: finished_conditions.hpp:81
bool check_finished(number time, int step)
Definition: finished_conditions.hpp:86
MaxStepsFinishedCondition(int max_timesteps)
Definition: finished_conditions.hpp:83
int m_max_timesteps
Definition: finished_conditions.hpp:91
Definition: finished_conditions.hpp:95
bool check_finished(number time, int step)
Definition: finished_conditions.hpp:101
TemporalFinishedCondition(number end_time, number max_step_size, number relative_precision_bound)
Definition: finished_conditions.hpp:97
number m_end_time
Definition: finished_conditions.hpp:112
number m_max_step_size
Definition: finished_conditions.hpp:113
number m_relative_precision_bound
Definition: finished_conditions.hpp:114
void set_max_step_size(number max_step_size)
Definition: finished_conditions.hpp:106
double number
Definition: types.h:124