OGS
PETScTools.cpp File Reference

Detailed Description

Definition of a function related to PETSc solver interface to assign the Dirichlet boundary conditions.

Author
Wenqing Wang
Version
Date
Nov 2011 - Sep 2013

Definition in file PETScTools.cpp.

#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)
 apply known solutions to a system of linear equations