OGS
PETScTools.h
Go to the documentation of this file.
1
17#pragma once
18
19#include <vector>
20
21#include "PETScMatrix.h"
22#include "PETScVector.h"
23
24namespace MathLib
25{
35void applyKnownSolution(PETScMatrix& A, PETScVector& b, PETScVector& x,
36 const std::vector<PetscInt>& vec_knownX_id,
37 const std::vector<PetscScalar>& vec_knownX_x);
38} // end of namespace MathLib
Declaration of class PETScMatrix, which provides an interface to PETSc matrix routines.
Declaration of class PETScVector, which provides an interface to PETSc vector routines.
void applyKnownSolution(EigenMatrix &A, EigenVector &b, EigenVector &, const std::vector< EigenMatrix::IndexType > &vec_knownX_id, const std::vector< double > &vec_knownX_x)