Flow123d
JS_before_hm-1830-gb19ac973c
|
Go to the documentation of this file.
8 #ifndef SRC_FIELDS_EQUATION_OUTPUT_HH_
9 #define SRC_FIELDS_EQUATION_OUTPUT_HH_
13 #include <unordered_map>
14 #include <unordered_set>
44 <<
"' is not scalar in spacedim 3.");
67 const string &equation_name,
68 const string &aditional_description =
"");
94 const string &additional_description);
const Mesh * mesh() const
Returns pointer to mesh.
void initialize(std::shared_ptr< OutputTime > stream, Mesh *mesh, Input::Record in_rec, const TimeGovernor &tg)
OutputMeshBase::ErrorControlFieldFunc select_error_control_field()
Selects the error control field out of output field set according to input record.
const Input::Type::Selection & create_output_field_selection(const string &equation_name, const string &additional_description)
bool is_field_output_time(const FieldCommon &field, TimeStep step) const
const Input::Type::Instance & make_output_type(const string &equation_name, const string &aditional_description="")
std::function< void(const Armor::array &, const ElementAccessor< spacedim > &, std::vector< double > &)> ErrorControlFieldFunc
std::array< bool, 4 > DiscreteSpaceFlags
OutputTimeSet output_set_
Set of output times.
DECLARE_EXCEPTION(ExcFieldNotScalar,<< "Field '"<< FieldCommon::EI_Field::qval<< "' is not scalar in spacedim 3.")
void read_from_input(Input::Record in_rec, const TimeGovernor &tg)
Representation of one time step..
Basic time management functionality for unsteady (and steady) solvers (class Equation).
void add_output_times(double begin, double step, double end)
std::unordered_map< string, FieldOutputConfig > field_output_times_
Time sets of individual fields.
Common abstract parent of all Field<...> classes.
The class for outputting data during time.
TimeMark::Type equation_type_
The time mark type of the equation.
static Input::Type::Record & get_input_type()
Container for various descendants of FieldCommonBase.
void output(TimeStep step)
std::unordered_set< string > observe_fields_
Set of observed fields. The observe points are given within the observe stream.
const Input::Type::Instance & make_output_type_from_record(Input::Type::Record &in_rec, const string &equation_name, const string &aditional_description="")
Classes for auxiliary output mesh.
Configuration of output of one field. Pair of OutputTimeSet and DiscreteSpaces.
OutputTime::DiscreteSpaceFlags space_flags_
Array of used DiscreteSpaces.
void make_output_mesh(bool parallel)
std::set< OutputTime::DiscreteSpace > used_interpolations_
OutputTimeSet common_output_times_
The time set used for the fields without explicit time set.
std::shared_ptr< OutputTime > stream_
output stream (may be shared by more equation)
TimeMark::Type equation_fixed_type_
The fixed time mark type of the equation.
std::shared_ptr< OutputMeshBase > output_mesh_
Output mesh.
FieldCommon * field(const std::string &field_name) const