Skip to content
Snippets Groups Projects
Commit 106e19d0 authored by podlesny's avatar podlesny
Browse files

galerkin restriction with transfer operators

parent c27f1eaf
No related branches found
No related tags found
No related merge requests found
......@@ -218,6 +218,24 @@ public:
{
GenericMultigridTransfer::restrict(prolongationMatrix_, f, t, -1);
}
template< class OperatorType>
void galerkinRestrictSetOccupation(const OperatorType& fineMat, OperatorType& coarseMat)
{
GenericMultigridTransfer::galerkinRestrictSetOccupation(prolongationMatrix_, fineMat, coarseMat);
}
template<class FineMatrixType, class CoarseMatrixType>
void galerkinRestrict(const FineMatrixType& fineMat, CoarseMatrixType& coarseMat)
{
GenericMultigridTransfer::galerkinRestrict(prolongationMatrix_, fineMat, coarseMat);
}
template <class BitVectorType>
void restrictToFathers(const BitVectorType& f, BitVectorType& t) const
{
GenericMultigridTransfer::restrictBitFieldToFathers(prolongationMatrix_, f, t, -1);
}
};
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment