Skip to content
Snippets Groups Projects
Commit 84b0aaa9 authored by Uli Sack's avatar Uli Sack Committed by usack
Browse files

introduce method setRhs, in order to be able to solve a second problem with...

introduce method setRhs, in order to be able to solve a second problem with the same matrix without recomputing the grid hierarchy

[[Imported from SVN: r6543]]
parent ae37ff4c
No related branches found
No related tags found
No related merge requests found
...@@ -137,6 +137,11 @@ ...@@ -137,6 +137,11 @@
preprocessCalled = false; preprocessCalled = false;
} }
void setRhs(const VectorType& rhs)
{
rhs_[numLevels_-1] = rhs;
}
template <class DerivedTransferHierarchy> template <class DerivedTransferHierarchy>
void setTransferOperators(const DerivedTransferHierarchy& transfer) void setTransferOperators(const DerivedTransferHierarchy& transfer)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment