Skip to content
Snippets Groups Projects
Commit 3750b4ce authored by Oliver Sander's avatar Oliver Sander
Browse files

In method 'galerkinRestrict': allow coarse grid matrix to be of different type...

In method 'galerkinRestrict': allow coarse grid matrix to be of different type than fine grid matrix

With this simple patch I am able to abuse the method to compute certain
Schur complements.
parent 37a844a4
Branches
No related tags found
No related merge requests found
......@@ -778,8 +778,8 @@ public:
template<class TransferOperatorType, class OperatorType>
static void galerkinRestrict(const TransferOperatorType& matrix, const OperatorType& fineMat, OperatorType& coarseMat)
template<class TransferOperatorType, class FineMatrixType, class CoarseMatrixType>
static void galerkinRestrict(const TransferOperatorType& matrix, const FineMatrixType& fineMat, CoarseMatrixType& coarseMat)
{
// ////////////////////////
// Nonsymmetric case
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment