OGS
PETScTools.h
Go to the documentation of this file.
1
16
17#pragma once
18
19#include <vector>
20
22#include "PETScMatrix.h"
23#include "PETScVector.h"
24
25namespace MathLib
26{
38 const std::vector<PetscInt>& vec_knownX_id,
39 const std::vector<PetscScalar>& vec_knownX_x,
41} // 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.
Wrapper class for PETSc matrix routines for matrix.
Definition PETScMatrix.h:32
Wrapper class for PETSc vector.
Definition PETScVector.h:41
DirichletBCApplicationMode
Definition LinAlgEnums.h:42
void applyKnownSolution(EigenMatrix &A, EigenVector &b, EigenVector &, const std::vector< EigenMatrix::IndexType > &vec_knownX_id, const std::vector< double > &vec_knownX_x, DirichletBCApplicationMode const mode)