OGS
|
Definition in file UnifiedMatrixSetters.cpp.
#include "UnifiedMatrixSetters.h"
#include <cassert>
#include <numeric>
#include "MathLib/LinAlg/PETSc/PETScMatrix.h"
#include "MathLib/LinAlg/PETSc/PETScVector.h"
Go to the source code of this file.
Namespaces | |
namespace | MathLib |
Functions | |
void | MathLib::setVector (PETScVector &v, std::initializer_list< double > values) |
void | MathLib::setVector (PETScVector &v, MatrixVectorTraits< PETScVector >::Index const index, double const value) |
void | MathLib::setMatrix (PETScMatrix &m, std::initializer_list< double > values) |
void | MathLib::setMatrix (PETScMatrix &m, Eigen::MatrixXd const &tmp) |
void | MathLib::addToMatrix (PETScMatrix &m, std::initializer_list< double > values) |