Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
OutputStructSolution< dim, VectorType > Struct Template Reference

#include <output_struct.h>

Public Member Functions

 OutputStructSolution (const DoFHandler< dim > &dof_handler, const VectorType &solution, const std::vector< std::string > &solution_names, const std::vector< DataComponentInterpretation::DataComponentInterpretation > &data_component_interpretation)

Public Attributes

const DoFHandler< dim > & dof_handler
const VectorType & solution
const std::vector< std::string > solution_names
const std::vector< DataComponentInterpretation::DataComponentInterpretation > data_component_interpretation

Detailed Description

template<int dim, typename VectorType>
struct OutputStructSolution< dim, VectorType >

Struct containing information about the solution output. It is used to pass all the information required upon calling add_data_vector() for the DataOut instance without losing track of its attributes such as name and data component interpretation. This version of the struct uses the DoF handler, the present solution field, and the data component interpretation vector.

Definition at line 53 of file output_struct.h.

Constructor & Destructor Documentation

◆ OutputStructSolution()

template<int dim, typename VectorType>
OutputStructSolution< dim, VectorType >::OutputStructSolution ( const DoFHandler< dim > & dof_handler,
const VectorType & solution,
const std::vector< std::string > & solution_names,
const std::vector< DataComponentInterpretation::DataComponentInterpretation > & data_component_interpretation )
inline

Constructor for when data is not related to a data_postprocessor.

Parameters
[in]dof_handlerDoFHandler containing solution.
[in]solutionSolution field.
[in]solution_namesVector with strings containing solution name.
[in]data_component_interpretationVector with data component interpretation of the solution.

Definition at line 64 of file output_struct.h.

References data_component_interpretation, dof_handler, solution, and solution_names.

Member Data Documentation

◆ data_component_interpretation

template<int dim, typename VectorType>
const std::vector<DataComponentInterpretation::DataComponentInterpretation> OutputStructSolution< dim, VectorType >::data_component_interpretation

Definition at line 79 of file output_struct.h.

◆ dof_handler

template<int dim, typename VectorType>
const DoFHandler<dim>& OutputStructSolution< dim, VectorType >::dof_handler

Definition at line 75 of file output_struct.h.

◆ solution

template<int dim, typename VectorType>
const VectorType& OutputStructSolution< dim, VectorType >::solution

Definition at line 76 of file output_struct.h.

◆ solution_names

template<int dim, typename VectorType>
const std::vector<std::string> OutputStructSolution< dim, VectorType >::solution_names

Definition at line 77 of file output_struct.h.


The documentation for this struct was generated from the following file: