Ax_b.hpp
Go to the documentation of this file.
1 #ifndef AX_B_H
2 #define AX_B_H
3 #include <petscksp.h>
4 
5 namespace SPE
6 {
12  PetscInt Ax_b(
13  const PetscScalar* const* Ain,
14  Vec &x,
15  const PetscScalar bin[],
16  const PetscInt &n
17  );
18 
23  PetscInt Ax_b(
24  const Mat &A,
25  Vec &x,
26  const Vec &b,
27  const PetscInt &n
28  );
29 }
30 #endif
PetscInt Ax_b(const PetscScalar *const *Ain, Vec &x, const PetscScalar bin[], const PetscInt &n)
Solves in linalg problem using PETSc in parallel Useful for solving small systems of equations...
Definition: Ax_b.cpp:11
Namespace containing all functions and data classes for this solver.
Definition: Ax_b.hpp:5