Namespaces | Functions
Ax_b.hpp File Reference
#include <petscksp.h>

Go to the source code of this file.

Namespaces

 SPE
 Namespace containing all functions and data classes for this solver.
 

Functions

PetscInt SPE::Ax_b (const PetscScalar *const *Ain, Vec &x, const PetscScalar bin[], const PetscInt &n)
 Solves \(x\) in \(Ax=b\) linalg problem using PETSc in parallel Useful for solving small systems of equations, such as finite difference coefficients for given stencils. More...
 
PetscInt SPE::Ax_b (const Mat &A, Vec &x, const Vec &b, const PetscInt &n)
 Solves \(x\) in \(Ax=b\) linalg problem using PETSc in parallel. More...