35 component_index_(
std::numeric_limits<unsigned int>::max())
40 shared_->is_fully_initialized_=
false;
47 shared_(other.shared_),
48 set_time_result_(other.set_time_result_),
49 last_time_(other.last_time_),
50 last_limit_side_(other.last_limit_side_),
51 is_jump_time_(other.is_jump_time_),
52 component_index_(other.component_index_)
64 "\"Specification of the region by its ID is obsolete, will be removed in release 3.0.\\n"
65 "Use region label declared in the Mesh record or default label 'region_<ID>'.\""} })
67 "Apply field setting in this record after this time.\n"
68 "These times have to form an increasing sequence.")
73 return "Record to set fields of the equation.\n"
74 "The fields are set only on the domain specified by one of the keys: 'region', 'rid'\n"
75 "and after the time given by the key 'time'. The field setting can be overridden by\n"
76 " any " + record_name +
" record that comes later in the boundary data array.";
87 for(
auto &item :
shared_->input_list_) {
98 stream << endl <<
"Used default values of Fields for equation " << equation_name <<
":" << endl;
99 stream << std::setfill(
'-') << setw(100) <<
"" << endl;
100 stream << std::setfill(
' ') <<
" Field name" << setw(21) <<
"" <<
"Default value" << setw(7) <<
"" <<
"Apply on regions" << endl;
103 stream <<
" " << std::left << setw(30) <<
it->field_name_ <<
"" <<
" "
104 << setw(18) <<
it->default_value_ <<
"" <<
" " <<
it->region_list_ << endl;
106 stream << std::setfill(
'-') << setw(100) <<
"" << endl << endl;
Common abstract parent of all Field<...> classes.
static bool print_message_table(ostream &stream, std::string equation_name)
std::shared_ptr< SharedData > shared_
static IT::Record field_descriptor_record(const string &record_name)
static const std::string field_descriptor_record_description(const string &record_name)
FieldFlag::Flags flags_
Field flags. Default setting is "an equation input field, that can read from user input,...
void mark_input_times(const TimeGovernor &tg)
FieldFlag::Flags & flags()
static std::vector< MessageData > messages_data_
Vector of data of initialization messages.
static constexpr Mask declare_input
The field can be set from input. The key in input field descriptor is declared. (default on)
static constexpr Mask input_copy
FlagArray & add(Mask mask)
Basic time management functionality for unsteady (and steady) solvers (class Equation).
TimeMark::Type equation_fixed_mark_type() const
double read_time(Input::Iterator< Input::Tuple > time_it, double default_time=std::numeric_limits< double >::quiet_NaN()) const
static const Input::Type::Tuple & get_input_time_type(double lower_bound=-std::numeric_limits< double >::max(), double upper_bound=std::numeric_limits< double >::max())
static TimeMarks & marks()
Class used for marking specified times at which some events occur.
TimeMark add(const TimeMark &mark)