Flow123d
JS_before_hm-2115-gf629a871a
|
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>
48 <<
"' is not scalar in spacedim 3.");
77 const string &equation_name,
78 const string &aditional_description =
"");
104 const string &additional_description);
158 std::shared_ptr<DOFHandlerMultiDim>
dh_;
EquationOutput()
Default constructor.
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
std::shared_ptr< DOFHandlerMultiDim > dh_node_
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
GenericAssembly< AssemblyOutputNodeData > * output_node_data_assembly_
std::array< bool, 4 > DiscreteSpaceFlags
OutputTimeSet output_set_
Set of output times.
GenericAssembly< AssemblyOutputNodeData > * output_corner_data_assembly_
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)
Provides the numbering of the finite element degrees of freedom on the computational mesh.
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::shared_ptr< DOFHandlerMultiDim > dh_
Objects for distribution of dofs.
std::set< OutputTime::DiscreteSpace > used_interpolations_
OutputTimeSet common_output_times_
The time set used for the fields without explicit time set.
GenericAssembly< AssemblyOutputElemData > * output_elem_data_assembly_
general assembly objects, hold assembly objects of appropriate dimension
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.
~EquationOutput()
Destructor.
void init_field_item(Input::Iterator< Input::Record > it, const TimeGovernor &tg)
Initialize data of Field given by passed Input::Record.
Generic class of assemblation.
std::shared_ptr< OutputMeshBase > output_mesh_
Output mesh.
FieldCommon * field(const std::string &field_name) const
unsigned int IntDim
A dimension index type.