Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
OutputStructCellVector Struct Reference

#include <output_struct.h>

Public Member Functions

 OutputStructCellVector (const Vector< float > &solution, const std::string &solution_name)

Public Attributes

const Vector< float > solution
const std::string solution_name

Detailed Description

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 a cell-based field parsed as a Vector and the solution name.

Definition at line 89 of file output_struct.h.

Constructor & Destructor Documentation

◆ OutputStructCellVector()

OutputStructCellVector::OutputStructCellVector ( const Vector< float > & solution,
const std::string & solution_name )
inline

Constructor for when data is not related to a data_postprocessor.

Parameters
[in]solutionSolution Vector<float>, which is stored as a copy.
[in]solution_nameString containing solution name.

Definition at line 97 of file output_struct.h.

References solution, and solution_name.

Member Data Documentation

◆ solution

const Vector<float> OutputStructCellVector::solution

Definition at line 102 of file output_struct.h.

◆ solution_name

const std::string OutputStructCellVector::solution_name

Definition at line 103 of file output_struct.h.


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