14 #ifndef _SOLVER_UTILS__H 
   15 #define _SOLVER_UTILS__H 
   18 #include <deal.II/lac/block_sparse_matrix.h> 
   19 #include <deal.II/lac/full_matrix.h> 
   20 #include <deal.II/lac/block_vector.h> 
   21 #include <deal.II/lac/petsc_parallel_block_sparse_matrix.h> 
   33 using namespace dealii;
 
   60             const std::string& file = std::string(
"diag_matrix.dat"));
 
   83 #ifdef OPENFCST_WITH_PETSC 
   99 #endif //_SOLVER_UTILS__H 
void output_diagonal(const BlockSparseMatrix< double > &A)
Output diagonal elements of the stiffness matrix to the screen. 
 
void check_diagonal(const BlockSparseMatrix< double > &A)
Check that the diagonal of the matrix does not have any zeros. 
 
void 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. 
 
void repair_diagonal(BlockSparseMatrix< double > &A)
This member function is used to make sure that the BlockSpareMatrix has no zeros in the diagonal...
 
BlockVector< double > FEVector
The vector class used by applications. 
Definition: application_data.h:46