8 #ifndef OUTPUT_TIME_HH_
9 #define OUTPUT_TIME_HH_
19 template <
int spacedim,
class Value>
21 template <
int spacedim,
class Value>
92 template<
int spacedim,
class Value>
102 template<
int spacedim,
class Value>
137 DECLARE_EXCEPTION(ExcOutputVariableVector, <<
"Can not output field " << EI_FieldName::qval
138 <<
" returning variable size vectors. Try convert to MultiField.\n");
151 template<
int spacedim,
class Value>
Common abstract parent of all Field<...> classes.
Common parent class for templated OutputData.
static Input::Type::AbstractRecord input_format_type
The specification of output file format.
Input::Record input_record_
void fix_main_file_extension(std::string extension)
static Input::Type::Record input_type
The specification of output stream.
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")
void add_admissible_field_names(const Input::Array &in_array)
Registers names of output fields that can be written using this stream.
Class template representing a field with values dependent on: point, element, and region...
void register_data(const DiscreteSpace type, MultiField< spacedim, Value > &multi_field)
Generic method for registering output data stored in MultiField.
OutputTime()
Default constructor. Only for testing.
Basic time management functionality for unsteady (and steady) solvers (class Equation).
std::map< std::string, DiscreteSpaceFlags > output_names
unsigned int DiscreteSpaceFlags
static OutputTime * create_output_stream(const Input::Record &in_rec)
This method delete all object instances of class OutputTime stored in output_streams vector...
static const unsigned int N_DISCRETE_SPACES
Input::AbstractRecord format_record_
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 mark_output_times(const TimeGovernor &tg)
void compute_field_data(DiscreteSpace type, Field< spacedim, Value > &field)
virtual int write_data(void)=0
Virtual method for writing data to output file.
OutputDataFieldVec output_data_vec_[N_DISCRETE_SPACES]
std::shared_ptr< OutputDataBase > OutputDataPtr
std::vector< OutputDataPtr > OutputDataFieldVec
Class for representation of a vector of fields of the same physical quantity.