18 #ifndef OUTPUT_TIME_HH_ 19 #define OUTPUT_TIME_HH_ 31 template <
int spacedim,
class Value>
34 template <
int spacedim,
class Value>
120 template<
int spacedim,
class Value>
130 template<
int spacedim,
class Value>
142 std::shared_ptr<Observe>
observe();
157 DECLARE_EXCEPTION(ExcOutputVariableVector, <<
"Can not output field " << EI_FieldName::qval
158 <<
" returning variable size vectors. Try convert to MultiField.\n");
169 template<
int spacedim,
class Value>
Class represents output mesh with continuous elements.
std::shared_ptr< Observe > observe()
Common abstract parent of all Field<...> classes.
Container for various descendants of FieldCommonBase.
Common parent class for templated OutputData.
std::shared_ptr< OutputMesh > output_mesh_
Output mesh.
void init_from_input(const std::string &equation_name, Mesh &mesh, const Input::Record &in_rec)
Constructor of OutputTime object. It opens base file for writing.
Input::Record input_record_
std::shared_ptr< OutputMeshDiscontinuous > output_mesh_discont_
Discontinuous (non-conforming) mesh. Used for CORNER_DATA.
void fix_main_file_extension(std::string extension)
TYPEDEF_ERR_INFO(EI_FieldName, std::string)
DECLARE_EXCEPTION(ExcOutputVariableVector,<< "Can not output field "<< EI_FieldName::qval<< " returning variable size vectors. Try convert to MultiField.\n")
static const Input::Type::Record & get_input_type()
The specification of output stream.
Class template representing a field with values dependent on: point, element, and region...
static Input::Type::Abstract & get_input_format_type()
The specification of output file format.
void register_data(const DiscreteSpace type, MultiField< spacedim, Value > &multi_field)
Generic method for registering output data stored in MultiField.
std::shared_ptr< Observe > observe_
void make_output_mesh(FieldSet &output_fields)
OutputTime()
Default constructor. Only for testing.
Basic time management functionality for unsteady (and steady) solvers (class Equation).
unsigned int DiscreteSpaceFlags
static const unsigned int N_DISCRETE_SPACES
virtual ~OutputTime()
Destructor of OutputTime. It doesn't do anything, because all necessary destructors will be called in...
void clear_data(void)
Clear data for output computed by method compute_field_data.
The class for outputting data during time.
void compute_field_data(DiscreteSpace type, Field< spacedim, Value > &field)
Dedicated class for storing path to input and output files.
Input::Iterator< Input::Array > get_time_set_array()
static std::shared_ptr< OutputTime > create_output_stream(const std::string &equation_name, Mesh &mesh, const Input::Record &in_rec)
This method delete all object instances of class OutputTime stored in output_streams vector...
virtual int write_data(void)=0
Virtual method for writing data to output file.
void compute_discontinuous_output_mesh()
OutputDataFieldVec output_data_vec_[N_DISCRETE_SPACES]
std::shared_ptr< OutputDataBase > OutputDataPtr
bool enable_refinement_
Auxliary flag for refinement enabling, due to gmsh format.
std::vector< OutputDataPtr > OutputDataFieldVec
Class for representation of a vector of fields of the same physical quantity.
std::string equation_name_