OGS
LinAlg.cpp File Reference

Detailed Description

Definition in file LinAlg.cpp.

Include dependency graph for LinAlg.cpp:

Go to the source code of this file.

Namespaces

namespace  MathLib
 
namespace  MathLib::LinAlg
 

Functions

void MathLib::LinAlg::setLocalAccessibleVector (PETScVector const &x)
 
void MathLib::LinAlg::set (PETScVector &x, PetscScalar const a)
 
void MathLib::LinAlg::copy (PETScVector const &x, PETScVector &y)
 
void MathLib::LinAlg::scale (PETScVector &x, PetscScalar const a)
 
void MathLib::LinAlg::aypx (PETScVector &y, PetscScalar const a, PETScVector const &x)
 
void MathLib::LinAlg::axpy (PETScVector &y, PetscScalar const a, PETScVector const &x)
 
void MathLib::LinAlg::axpby (PETScVector &y, PetscScalar const a, PetscScalar 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, PetscScalar const a)
 
void MathLib::LinAlg::aypx (PETScMatrix &Y, PetscScalar const a, PETScMatrix const &X)
 
void MathLib::LinAlg::axpy (PETScMatrix &Y, PetscScalar 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::linearSysNormalize (PETScMatrix const &, PETScMatrix &, PETScVector const &, PETScVector &)
 
void MathLib::LinAlg::finalizeAssembly (PETScMatrix &A)
 
void MathLib::LinAlg::finalizeAssembly (PETScVector &x)