OGS
PETScTools.h File Reference

Detailed Description

Declaration 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.h.

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