Skip to content
Snippets Groups Projects
Commit a119a452 authored by lh1887's avatar lh1887
Browse files

Add setMatrix() method to DenseMultigridTransfer

Again, see #14. This time without additional garbage, sorry.
parent fb5aea62
No related branches found
No related tags found
No related merge requests found
...@@ -121,6 +121,11 @@ public: ...@@ -121,6 +121,11 @@ public:
return matrix_; return matrix_;
} }
/** \brief Set matrix */
template <class M>
void setMatrix(M&& m) {
matrix_ = std::forward<M>(m);
}
protected: protected:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment