Peano
Loading...
Searching...
No Matches
mghype.h
Go to the documentation of this file.
1// This file is part of the Peano's PETSc extension. For conditions of
2// distribution and use, please see the copyright notice at
3// www.peano-framework.org
4#pragma once
5
6
7#include "tarch/la/Matrix.h"
8
9
10#include <string>
11
12
13namespace mghype {
20 template <int Rows, int Cols>
23 const std::vector<int>& scaleFactors,
25 );
26
27
41 template <int Rows, int Cols>
44 const std::vector<int>& scaleFactors,
47 );
48}
49
50
51#include "mghype.cpph"
52
Static (i.e.
Definition Matrix.h:42
This file is part of the multigrid project within Peano 4.
Definition __init__.py:1
tarch::la::Vector< Rows, double > applyMatrixFromHWeightedLinearCombination(const std::vector< tarch::la::Matrix< Rows, Cols, double > > &matrices, const std::vector< int > &scaleFactors, const tarch::la::Vector< Dimensions, double > &h, const tarch::la::Vector< Cols, double > &v)
Apply a series of vectors to another vector.
tarch::la::Matrix< Rows, Cols, double > composeMatrixFromHWeightedLinearCombination(const std::vector< tarch::la::Matrix< Rows, Cols, double > > &matrices, const std::vector< int > &scaleFactors, const tarch::la::Vector< Dimensions, double > &h)
Compute a weighted linear combination of matrices.
Simple vector class.
Definition Vector.h:159