Belos Package Browser (Single Doxygen Collection)
Development
|
Base class for Belos::SolverManager subclasses which normally can only compile for real ScalarType. More...
#include <BelosSolverManager.hpp>
Base class for Belos::SolverManager subclasses which normally can only compile for real ScalarType.
It can be a lot of trouble to make a solver implementation compile correctly for both real and complex ScalarType. That's why this class exists. If a Belos solver inherits from this class, that indicates that the solver's implementation can only compile if ScalarType is real (not complex). If you attempt to invoke the solver's constructor when ScalarType
is complex, the constructor will throw an exception.
The point of this class is to ensure that Belos::SolverFactory will always compile, even if some Belos solvers' implementations cannot compile when ScalarType is complex. See GCRODRSolMgr for an example of how to use this class to avoid compilation of code that only works for real ScalarType.
Definition at line 224 of file BelosSolverManager.hpp.