OGS
|
Definition in file LinAlg.cpp.
#include "LinAlg.h"
#include "MathLib/LinAlg/PETSc/PETScMatrix.h"
#include "MathLib/LinAlg/PETSc/PETScVector.h"
Go to the source code of this file.
Namespaces | |
MathLib | |
MathLib::LinAlg | |
Functions | |
void | MathLib::LinAlg::setLocalAccessibleVector (PETScVector const &x) |
void | MathLib::LinAlg::set (PETScVector &x, double const a) |
void | MathLib::LinAlg::copy (PETScVector const &x, PETScVector &y) |
void | MathLib::LinAlg::scale (PETScVector &x, double const a) |
void | MathLib::LinAlg::aypx (PETScVector &y, double const a, PETScVector const &x) |
void | MathLib::LinAlg::axpy (PETScVector &y, double const a, PETScVector const &x) |
void | MathLib::LinAlg::axpby (PETScVector &y, double const a, double const b, PETScVector const &x) |
template<> | |
void | MathLib::LinAlg::componentwiseDivide (PETScVector &w, PETScVector const &x, PETScVector const &y) |
template<> | |
double | MathLib::LinAlg::norm1 (PETScVector const &x) |
template<> | |
double | MathLib::LinAlg::norm2 (PETScVector const &x) |
template<> | |
double | MathLib::LinAlg::normMax (PETScVector const &x) |
void | MathLib::LinAlg::copy (PETScMatrix const &A, PETScMatrix &B) |
void | MathLib::LinAlg::scale (PETScMatrix &A, double const a) |
void | MathLib::LinAlg::aypx (PETScMatrix &Y, double const a, PETScMatrix const &X) |
void | MathLib::LinAlg::axpy (PETScMatrix &Y, double const a, PETScMatrix const &X) |
void | MathLib::LinAlg::matMult (PETScMatrix const &A, PETScVector const &x, PETScVector &y) |
void | MathLib::LinAlg::matMultAdd (PETScMatrix const &A, PETScVector const &v1, PETScVector const &v2, PETScVector &v3) |
void | MathLib::LinAlg::finalizeAssembly (PETScMatrix &A) |
void | MathLib::LinAlg::finalizeAssembly (PETScVector &x) |