-
Notifications
You must be signed in to change notification settings - Fork 605
Open
Labels
Description
Enhancement
MueLu uses` Amesos2 for coarse solves. This means that the same linear system is solved repeatedly. Only the RHS changes.
Trilinos/packages/amesos2/src/Amesos2_MultiVecAdapter_def.hpp
Lines 353 to 358 in fc8b056
| const Teuchos::RCP<const Tpetra::Map<lo_t,go_t,node_t> > map | |
| = Amesos2::Util::getDistributionMap<lo_t,go_t,gs_t,node_t>(distribution, | |
| mv->getGlobalLength(), | |
| mv->getComm(), | |
| indexBase, | |
| mv->getMap()); |
constructs a map for each solve. Is that necessary or could this step be cached? Or is MueLu using Amesos2 incorrectly?