Belos  Version of the Day
RealSolverManager Class Reference

Base class for Belos::SolverManager subclasses which normally can only compile for real ScalarType. More...

#include <BelosSolverManager.hpp>


Detailed Description

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines