Class Encapsulate The PETSc COMM WORLD -Should be singleton. More...
#include <petsc.hpp>
Public Types | |
typedef std::size_t | size_type |
typedef NumericT | value_type |
Public Member Functions | |
PETSC_vector (const std::vector< NumericT > &V, PETSC_matrix< NumericT, VectorType > &M) | |
Constructor to the PETSC vector Right Hand and Solution M Matrix of the Linear System. More... | |
~PETSC_vector () | |
operator std::vector< NumericT > () | |
Cast from the PETSC vector to std::vector. More... | |
void | GenerateGlobal () |
Vec | getSolution () const |
void | setSolution (Vec solution) |
operator Vec () const | |
size_type | size () const |
size_type | sizeLocal () const |
Vec | getVec () const |
void | setVec (Vec vec) |
Class Encapsulate The PETSc COMM WORLD -Should be singleton.
Wrapper class to the PETSC vector.
typedef std::size_t viennashe::solvers::PETSC_vector< NumericT, VectorType >::size_type |
typedef NumericT viennashe::solvers::PETSC_vector< NumericT, VectorType >::value_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |