Wrapper class to the PETSC matrix. More...
#include <petsc.hpp>
Public Types | |
| typedef std::size_t | size_type |
| typedef size_type | SizeType |
| typedef PETSC_vector< NumericT, VectorType > | row_type |
| typedef PETSC_vector< NumericT, VectorType > | RowType |
Public Member Functions | |
| PETSC_matrix (const viennashe::math::sparse_matrix< NumericT > ©mat) | |
| Wrapper class to the PETSC matrix. More... | |
| ~PETSC_matrix () | |
| void | solve (PETSC_vector< NumericT, VectorType > &b) |
| Wrapper class to the PETSC matrix. More... | |
| size_type | size1 () const |
| size_type | size2 () const |
| self_type & | operator= (double other) |
| PetscReal | getNorm () const |
| KSPConvergedReason | get_Creason () |
| int | get_Citer () |
| void | setNorm (PetscReal norm) |
| size_type | getSize1 () const |
| void | setSize1 (size_type size1) |
| size_type | getSize2 () const |
| void | setSize2 (size_type size2) |
| const Mat & | getA () |
| int | getIndex () const |
| void | setIndex (int index) |
| PetscInt | getNlocal1 () const |
| void | setNlocal1 (PetscInt nlocal1) |
| PetscInt | getNlocal2 () const |
| void | setNlocal2 (PetscInt nlocal2) |
| int | getIter () const |
| void | setIter (int iter) |
| PetscInt | getRend () const |
| void | setRend (PetscInt rend) |
| PetscInt | getRstart () const |
| void | setRstart (PetscInt rstart) |
Wrapper class to the PETSC matrix.
| typedef PETSC_vector<NumericT, VectorType> viennashe::solvers::PETSC_matrix< NumericT, VectorType >::row_type |
| typedef PETSC_vector<NumericT, VectorType> viennashe::solvers::PETSC_matrix< NumericT, VectorType >::RowType |
| typedef std::size_t viennashe::solvers::PETSC_matrix< NumericT, VectorType >::size_type |
| typedef size_type viennashe::solvers::PETSC_matrix< NumericT, VectorType >::SizeType |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |