OpenFCST: The open-source Fuel Cell Simulation Toolbox
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
FuelCellShop::Equation::DebugTools::DebugOutput< dim > Class Template Reference

#include <equation_auxiliaries.h>

Inheritance diagram for FuelCellShop::Equation::DebugTools::DebugOutput< dim >:
Inheritance graph
[legend]
Collaboration diagram for FuelCellShop::Equation::DebugTools::DebugOutput< dim >:
Collaboration graph
[legend]

Public Member Functions

 DebugOutput (FuelCell::SystemManagement &sys_management, boost::shared_ptr< FuelCell::ApplicationCore::ApplicationData > data)
 Constructor. More...
 
void output_matrix (FuelCell::ApplicationCore::MatrixVector cell_matrices, const typename FuelCell::ApplicationCore::DoFApplication< dim >::CellInfo &cell_info, FuelCellShop::Equation::VariableInfo xi)
 Outputs a vector that contains cell matrix written row by row. More...
 
void output_vector (FuelCell::ApplicationCore::FEVector &cell_res)
 Outputs a vector that contains cell residual (right hand side). More...
 
virtual ~DebugOutput ()
 Destructor. More...
 

Private Attributes

Debug output
int cell_number =0
 Number of the cell. More...
 
int cell_number_m =0
 Number of the cell. More...
 
std::string fname =""
 File name. More...
 
std::ofstream filestream
 Variable used for streaming to file. More...
 
FEVectors out
 FEVectors object used for output. More...
 
FEVector matrix_by_rows
 Contains system matrix written row by row as column. More...
 
Generic data
FuelCell::SystemManagementsystem_management
 Pointer to the external YourApplication<dim>::system_management object. More...
 
boost::shared_ptr
< FuelCell::ApplicationCore::ApplicationData
data
 Data object for the application data to be passed to the equation classes. More...
 

Constructor & Destructor Documentation

Constructor.

template<int dim>
virtual FuelCellShop::Equation::DebugTools::DebugOutput< dim >::~DebugOutput ( )
virtual

Destructor.

Member Function Documentation

template<int dim>
void FuelCellShop::Equation::DebugTools::DebugOutput< dim >::output_matrix ( FuelCell::ApplicationCore::MatrixVector  cell_matrices,
const typename FuelCell::ApplicationCore::DoFApplication< dim >::CellInfo &  cell_info,
FuelCellShop::Equation::VariableInfo  xi 
)

Outputs a vector that contains cell matrix written row by row.

template<int dim>
void FuelCellShop::Equation::DebugTools::DebugOutput< dim >::output_vector ( FuelCell::ApplicationCore::FEVector cell_res)

Outputs a vector that contains cell residual (right hand side).

Member Data Documentation

template<int dim>
int FuelCellShop::Equation::DebugTools::DebugOutput< dim >::cell_number =0
private

Number of the cell.

Used for RHS.

template<int dim>
int FuelCellShop::Equation::DebugTools::DebugOutput< dim >::cell_number_m =0
private

Number of the cell.

Used for matrices.

Data object for the application data to be passed to the equation classes.

template<int dim>
std::ofstream FuelCellShop::Equation::DebugTools::DebugOutput< dim >::filestream
private

Variable used for streaming to file.

template<int dim>
std::string FuelCellShop::Equation::DebugTools::DebugOutput< dim >::fname =""
private

File name.

template<int dim>
FEVector FuelCellShop::Equation::DebugTools::DebugOutput< dim >::matrix_by_rows
private

Contains system matrix written row by row as column.

FEVectors object used for output.

template<int dim>
FuelCell::SystemManagement* FuelCellShop::Equation::DebugTools::DebugOutput< dim >::system_management
private

Pointer to the external YourApplication<dim>::system_management object.


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