12 component_index_(std::numeric_limits<unsigned int>::max())
18 shared_->is_fully_initialized_=
false;
24 : shared_(other.shared_),
27 component_index_(other.component_index_)
36 description =
"Record to set fields of the equation.\n"
37 "The fields are set only on the domain specified by one of the keys: 'region', 'rid', 'r_set'\n"
38 "and after the time given by the key 'time'. The field setting can be overridden by\n"
39 " any " + record_name +
" record that comes later in the boundary data array.";
46 "Apply field setting in this record after this time.\n"
47 "These times have to form an increasing sequence.");
60 double time,last_time=0.0;
62 if (list.
size() == 0)
return;
64 it != list.
end(); ++it) {
88 time = it->val<
double>(
"time");
89 if (time < last_time) {
90 THROW( ExcNonascendingTime()
110 it !=
shared_->input_list_.end(); ++it)
112 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 can not read from input, thus must 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) ...