17 shared_->is_fully_initialized_=
false;
23 : shared_(other.shared_),
34 description =
"Record to set fields of the equation.\n"
35 "The fields are set only on the domain specified by one of the keys: 'region', 'rid', 'r_set'\n"
36 "and after the time given by the key 'time'. The field setting can be overridden by\n"
37 " any " + record_name +
" record that comes later in the boundary data array.";
44 "Apply field setting in this record after this time.\n"
45 "These times have to form an increasing sequence.");
58 double time,last_time=0.0;
59 if (list.
size() == 0)
return;
61 it !=
shared_->input_list_.end(); ++it)
64 time = it->val<
double>(
"time");
65 if (time < last_time) {
66 cout <<
shared_->input_list_.address_string();
67 THROW( ExcNonascendingTime()
70 <<
shared_->input_list_.ei_address());
87 it !=
shared_->input_list_.end(); ++it)
89 time = it->val<
double>(
"time");
void mark_input_times(TimeMark::Type mark_type)
Common abstract parent of all Field<...> classes.
FlagArray & add(Mask mask)
const std::string description() const
static TimeMarks & marks()
void set_input_list(const Input::Array &list)
std::shared_ptr< SharedData > shared_
void add(const TimeMark &mark)
static constexpr Mask input_copy
A field that is input of its equation and cna not read from input, thus muzt be set by copy...
FieldFlag::Flags & flags()
FieldFlag::Flags flags_
Field flags. Default setting is "an equation input field, that can read from user input...
static IT::Record field_descriptor_record(const string &record_name)
#define ASSERT_LESS(a, b)
Class used for marking specified times at which some events occur.
const std::string & input_name() const
#define THROW(whole_exception_expr)
Wrapper for throw. Saves the throwing point.
static constexpr Mask declare_input
The field can be set from input. The key in input field descriptor is declared. (default on) ...