OGS
PETScTools.h File Reference
#include <vector>
#include "MathLib/LinAlg/LinAlgEnums.h"
#include "PETScMatrix.h"
#include "PETScVector.h"
Include dependency graph for PETScTools.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  MathLib

Functions

void MathLib::applyKnownSolution (PETScMatrix &A, PETScVector &b, PETScVector &x, const std::vector< PetscInt > &vec_knownX_id, const std::vector< PetscScalar > &vec_knownX_x, DirichletBCApplicationMode const mode)
 apply known solutions to a system of linear equations