Flow123d
release_3.0.0-968-gc87a28e79
|
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.");
61 const string &equation_name,
62 const string &aditional_description =
"");
88 const string &additional_description);
std::function< void(const std::vector< Space< spacedim >::Point > &, const ElementAccessor< spacedim > &, std::vector< double > &)> ErrorControlFieldFunc
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="")
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)
Common abstract parent of all Field<...> classes.
std::unordered_map< string, OutputTimeSet > field_output_times_
Time sets of individual fields.
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.
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