Skip to content
Snippets Groups Projects
Commit 9a516165 authored by graeser's avatar graeser
Browse files

Merge branch 'feature/transferoperator-mutable-matrix-access' into 'master'

Provide mutable access to matrix in transfer operator

See merge request !34
parents 93e33165 ef9c4aa8
No related branches found
No related tags found
1 merge request!34Provide mutable access to matrix in transfer operator
Pipeline #16202 passed
......@@ -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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment