OpenFCST: The open-source Fuel Cell Simulation Toolbox
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
solver_utils.h File Reference
#include <deal.II/lac/block_sparse_matrix.h>
#include <deal.II/lac/full_matrix.h>
#include <deal.II/lac/block_vector.h>
#include <deal.II/lac/petsc_parallel_block_sparse_matrix.h>
#include <application_core/application_wrapper.h>
#include <vector>
#include <fstream>
#include <iostream>
#include <sstream>
Include dependency graph for solver_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 SolverUtils
 This namespace is used to include routines that are used in the solve() routine of several applications such as AppCathode and AppPemfc.
 

Functions

void SolverUtils::check_diagonal (const BlockSparseMatrix< double > &A)
 Check that the diagonal of the matrix does not have any zeros. More...
 
void SolverUtils::output_diagonal (const BlockSparseMatrix< double > &A)
 Output diagonal elements of the stiffness matrix to the screen. More...
 
void SolverUtils::print_diagonal (const BlockSparseMatrix< double > &A, const std::string &file=std::string("diag_matrix.dat"))
 Print the diagonal elements of a matrix to a file named diag_matrix.dat. More...
 
void SolverUtils::repair_diagonal (BlockSparseMatrix< double > &A)
 This member function is used to make sure that the BlockSpareMatrix has no zeros in the diagonal. More...
 
void SolverUtils::repair_diagonal (BlockSparseMatrix< double > &A, FuelCell::ApplicationCore::FEVector &, const FuelCell::ApplicationCore::FEVector &)
 This member function is used to make sure that the BlockSpareMatrix has no zeros in the diagonal. More...