18 #ifndef OUTPUT_TIME_HH_ 19 #define OUTPUT_TIME_HH_ 134 std::shared_ptr<Observe>
observe();
190 template <
typename T>
Class represents output mesh with continuous elements.
ElementDataCache< T > & prepare_compute_data(std::string field_name, DiscreteSpace space_type, unsigned int n_rows, unsigned int n_cols)
std::shared_ptr< Observe > observe()
std::shared_ptr< OutputMesh > output_mesh_
Output mesh.
virtual 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_
Base class for Output mesh.
std::shared_ptr< OutputMeshDiscontinuous > output_mesh_discont_
Discontinuous (non-conforming) mesh. Used for CORNER_DATA.
void fix_main_file_extension(std::string extension)
static const Input::Type::Record & get_input_type()
The specification of output stream.
static Input::Type::Abstract & get_input_format_type()
The specification of output file format.
std::shared_ptr< Observe > observe_
void update_time(double field_time)
std::shared_ptr< ElementDataCacheBase > OutputDataPtr
OutputTime()
Default constructor. Only for testing.
Basic time management functionality for unsteady (and steady) solvers (class Equation).
unsigned int DiscreteSpaceFlags
Class represents output mesh with discontinuous elements.
bool enable_refinement()
Return auxiliary flag enable_refinement_.
bool is_output_mesh_init()
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.
std::shared_ptr< OutputMeshBase > get_output_mesh_ptr(bool discont=false)
void set_stream_precision(std::ofstream &stream)
The class for outputting data during time.
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...
Input::Iterator< Input::Record > get_output_mesh_record()
std::shared_ptr< OutputMeshBase > create_output_mesh_ptr(bool init_input, bool discont=false)
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]
bool enable_refinement_
Auxiliary flag for refinement enabling, due to gmsh format.
std::vector< OutputDataPtr > OutputDataFieldVec
std::string equation_name_