diff --git a/dune/fem-dg/misc/crs.hh b/dune/fem-dg/misc/crs.hh index f8e18c0fb457aff9d6b77507bb534f1d74c67cd2..a06bbc03a188852472d6ab0f2d15229e1da922b0 100644 --- a/dune/fem-dg/misc/crs.hh +++ b/dune/fem-dg/misc/crs.hh @@ -86,7 +86,7 @@ namespace Dune int N () const { return rows; } int M () const { return cols; } - struct Plus + struct Add { template <class T> void operator()( T& a, const T& b ) const @@ -95,7 +95,7 @@ namespace Dune } }; - struct Minus + struct Substract { template <class T> void operator()( T& a, const T& b ) const @@ -122,7 +122,13 @@ namespace Dune template <class X, class Y> void mmv ( const X& x, Y& y ) const { - mult( x, y, Minus() ); + mult( x, y, Substract() ); + } + + template <class X, class Y> + void umv ( const X& x, Y& y ) const + { + mult( x, y, Add() ); } template <class X, class Y, class Op>