OpenFCST: The open-source Fuel Cell Simulation Toolbox
|
#include <equation_auxiliaries.h>
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::SystemManagement * | system_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... | |
FuelCellShop::Equation::DebugTools::DebugOutput< dim >::DebugOutput | ( | FuelCell::SystemManagement & | sys_management, |
boost::shared_ptr< FuelCell::ApplicationCore::ApplicationData > | data | ||
) |
Constructor.
|
virtual |
Destructor.
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.
void FuelCellShop::Equation::DebugTools::DebugOutput< dim >::output_vector | ( | FuelCell::ApplicationCore::FEVector & | cell_res | ) |
Outputs a vector that contains cell residual (right hand side).
|
private |
Number of the cell.
Used for RHS.
|
private |
Number of the cell.
Used for matrices.
|
private |
Data object for the application data to be passed to the equation classes.
|
private |
Variable used for streaming to file.
|
private |
File name.
|
private |
Contains system matrix written row by row as column.
|
private |
FEVectors object used for output.
|
private |
Pointer to the external YourApplication<dim>::system_management object.