bugfix: make famg reconstruct on update

This commit is contained in:
Tobias Meyer Andersen 2024-04-15 16:24:43 +02:00
parent 0079a17889
commit 9ab15e3ff9

View File

@ -523,7 +523,7 @@ struct StandardPreconditioners<Operator, Dune::Amg::SequentialInformation> {
Dune::Amg::Parameters parms;
parms.setNoPreSmoothSteps(1);
parms.setNoPostSmoothSteps(1);
return getDummyUpdateWrapper<Dune::Amg::FastAMG<O, V>>(op, crit, parms);
return getRebuildOnUpdateWrapper<Dune::Amg::FastAMG<O, V>, O, decltype(crit), decltype(parms)>(op, crit, parms);
});
}
if constexpr (std::is_same_v<O, WellModelMatrixAdapter<M, V, V, false>>) {