[WIP] Anasazi: add Factory
Created by: aprokop
@trilinos/anasazi @amklinv @hkthorn
Adding a factory to return SolMgr
. This would allow users to skip the if statements themselves.
Current PR concerns:
-
I came up with names myself, is there a standard documented list somewhere? Would probably need more alternative names, like "Generalized Davidson", "GENERALIZED_DAVIDSON", and the variants... -
This will need to be documented somewhere. I can put in doxygen comments, but anything else? -
I have not tried fixing few issues with std::complex
. Some solver managers cannot be instantiated on them (see below), but maybe that could be fixed? For now, adding the guards. -
I'm not sure, does Anasazi require C++11? If it does not, I'll have to remove auto
. -
Why do solver take non-const ParameterList
as input?