diff --git a/dune/solvers/transferoperators/compressedmultigridtransfer.hh b/dune/solvers/transferoperators/compressedmultigridtransfer.hh index 1cdd9ebd8891da21db9062fb4ec3fc30310dde3c..93402d10ee339a7b8d40a4f9fc50c42d29a6cea5 100644 --- a/dune/solvers/transferoperators/compressedmultigridtransfer.hh +++ b/dune/solvers/transferoperators/compressedmultigridtransfer.hh @@ -139,6 +139,11 @@ public: return *matrix_; } + /** \brief Direct access to the operator matrix, if you absolutely want it! */ + TransferOperatorType& getMatrix() { + return *matrix_; + } + /** \brief Set matrix! */ void setMatrix(typename std::shared_ptr<TransferOperatorType>& matrix) { @@ -291,6 +296,11 @@ public: return *matrix_; } + /** \brief Direct access to the operator matrix, if you absolutely want it! */ + TransferOperatorType& getMatrix() { + return *matrix_; + } + /** \brief Set matrix! */ void setMatrix(typename std::shared_ptr<TransferOperatorType>& matrix) {