OGS
|
Definition of a function related to PETSc solver interface to assign the Dirichlet boundary conditions.
Definition in file PETScTools.cpp.
#include "PETScTools.h"
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) |
apply known solutions to a system of linear equations | |