OGS
PETScTools.cpp File Reference
#include "PETScTools.h"
Include dependency graph for PETScTools.cpp:

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