include/meltpooldg/post_processing/generic_data_out.hpp Source File
|
Developer Documentation
|
generic_data_out.hpp
Go to the documentation of this file.
A generic utility for managing simulation output data in the MeltPoolDG context.
Definition generic_data_out.hpp:32
const bool req_all
Flag indicating if all variables are requested.
Definition generic_data_out.hpp:235
void add_data_vector(const dealii::DoFHandler< dim > &dof_handler, const VectorType &data, const std::string &name, const bool force_output=false)
Add a distributed vector with a single scalar component.
const VectorType & get_vector(const std::string &name) const
Definition generic_data_out.cpp:105
void add_element_wise_data_vector(const ElementWiseVectorType &data, const std::string &name, const bool force_output=false)
Add an element-wise vector.
Definition generic_data_out.cpp:87
std::vector< std::tuple< const dealii::DoFHandler< dim > *, const VectorType *, const dealii::DataPostprocessor< dim > * > > data_postprocessor_entries
Definition generic_data_out.hpp:69
std::map< std::string, unsigned int > entry_id
Maps variable names to their entry index.
Definition generic_data_out.hpp:220
void add_data_vector(const dealii::DoFHandler< dim > &dof_handler, const VectorType &data, const std::vector< std::string > &names, const std::vector< dealii::DataComponentInterpretation::DataComponentInterpretation > &data_component_interpretation=std::vector< dealii::DataComponentInterpretation::DataComponentInterpretation >(), const bool force_output=false)
Add a distributed vector with multiple components and custom interpretations.
const dealii::DoFHandler< dim > & get_dof_handler(const std::string &name) const
Retrieve the DoFHandler associated with a named distributed vector.
Definition generic_data_out.cpp:158
const dealii::DataPostprocessor< dim > & get_data_postprocessor(const std::string &name) const
Definition generic_data_out.cpp:141
const dealii::Mapping< dim > & mapping
Mapping object reference.
Definition generic_data_out.hpp:223
dealii::LinearAlgebra::distributed::Vector< number > VectorType
The distributed vector type used for parallel computations. Used for DoF output vectors.
Definition generic_data_out.hpp:35
std::vector< unsigned int > get_indices_data_request(const std::vector< std::string > &req_var) const
Retrieve the entry indices of requested variables.
Definition generic_data_out.cpp:236
const std::vector< std::string > req_vars
List of requested variable names.
Definition generic_data_out.hpp:229
const dealii::Mapping< dim > & get_mapping() const
Access the stored Mapping used in the constructor.
Definition generic_data_out.cpp:195
bool is_requested(const std::string &var) const
Determine if a variable has been requested for output.
Definition generic_data_out.cpp:209
std::map< std::string, bool > req_vars_info
Caching mechanism to store whether a variable is requested.
Definition generic_data_out.hpp:232
const number & get_time() const
Get the time value associated with this output.
Definition generic_data_out.cpp:202
std::vector< std::tuple< const dealii::DoFHandler< dim > *, const VectorType *, const ElementWiseVectorType *, const std::vector< std::string >, std::vector< dealii::DataComponentInterpretation::DataComponentInterpretation > > > entries
Storage of registered data entries.
Definition generic_data_out.hpp:56
number current_time
Time associated with the current output.
Definition generic_data_out.hpp:226
dealii::Vector< number > ElementWiseVectorType
The element-wise (non-distributed) vector type. Used for element-wise output vectors.
Definition generic_data_out.hpp:38
Generated by