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