OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
petsc_solver< T > Class Template Reference

In case T does not match the PETSC precision compilation create a stub structure. More...

Detailed Description

template<typename T>
class petsc_solver< T >

In case T does not match the PETSC precision compilation create a stub structure.

Parameters
Tprecision

Definition at line 55 of file petsc_solver.hpp.

#include <petsc_solver.hpp>

Static Public Member Functions

template<typename impl >
static Vector< T > solve (const SparseMatrix< T, impl > &A, const Vector< T > &b)
 Solve the linear system.
 

Member Function Documentation

◆ solve()

template<typename T >
template<typename impl >
static Vector< T > petsc_solver< T >::solve ( const SparseMatrix< T, impl > &  A,
const Vector< T > &  b 
)
inlinestatic

Solve the linear system.

In this case just return an error

Parameters
Asparse matrix
bright-hand-side
Returns
the solution

Definition at line 69 of file petsc_solver.hpp.


The documentation for this class was generated from the following file: