Skip to content
Snippets Groups Projects
Commit ef9c4aa8 authored by Carsten Gräser's avatar Carsten Gräser
Browse files

Provide mutable access to matrix in transfer operator

This is needed to use the new assembleGlobalBasisTransferMatrix(...)
assembler functions which needs access to the internal raw matrix.
parent 93e33165
No related branches found
No related tags found
1 merge request!34Provide mutable access to matrix in transfer operator
Pipeline #16201 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