OGS
PETScTools.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#include <vector>
7
9#include "PETScMatrix.h"
10#include "PETScVector.h"
11
12namespace MathLib
13{
25 const std::vector<PetscInt>& vec_knownX_id,
26 const std::vector<PetscScalar>& vec_knownX_x,
28} // end of namespace MathLib
Wrapper class for PETSc matrix routines for matrix.
Definition PETScMatrix.h:21
Wrapper class for PETSc vector.
Definition PETScVector.h:28
DirichletBCApplicationMode
Definition LinAlgEnums.h:33
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)