23 double const dt = _time_disc.getCurrentTimeIncrement();
38 _time_disc.getWeightedOldX(tmp, x_prev);
Global vector based on Eigen vector.
virtual GlobalVector & getVector(std::size_t &id)=0
Get an uninitialized vector with the given id.
virtual void releaseVector(GlobalVector const &x)=0
void linearSysNormalize(PETScMatrix const &, PETScMatrix &, PETScVector const &, PETScVector &)
void copy(PETScVector const &x, PETScVector &y)
void matMult(PETScMatrix const &A, PETScVector const &x, PETScVector &y)
void matMultAdd(PETScMatrix const &A, PETScVector const &v1, PETScVector const &v2, PETScVector &v3)
void scale(PETScVector &x, PetscScalar const a)
void axpy(PETScVector &y, PetscScalar const a, PETScVector const &x)
static NUMLIB_EXPORT VectorProvider & provider