Diana
0.8.3
|
#include <CapeSolver.hpp>
Public Member Functions | |
virtual ICapeNumericSolver * | CreateSolver (CapeSolverType type, Model::ICapeNumericModel *theModel, Common::Types::CapeString strLibraryName)=0 throw (Common::Error::ECapeUnknown, Common::Error::ECapeInvalidArgument, Common::Error::ECapeOutOfBounds, Common::Error::ECapeOutOfResources, Common::Error::ECapeFailedInitialisation, Common::Error::ECapeUser) |
virtual void | Shutdown ()=0 throw (Common::Error::ECapeUnknown, Common::Error::ECapeNoImpl) |
Solver factory creates an instance of the Solver Component for a specific ESO from a specific type, either linear, non linear or differential.
virtual ICapeNumericSolver* CreateSolver | ( | CapeSolverType | type, |
Model::ICapeNumericModel * | theModel, | ||
Common::Types::CapeString | strLibraryName | ||
) | throw (Common::Error::ECapeUnknown, Common::Error::ECapeInvalidArgument, Common::Error::ECapeOutOfBounds, Common::Error::ECapeOutOfResources, Common::Error::ECapeFailedInitialisation, Common::Error::ECapeUser) [pure virtual] |
Creates a specific Solver Component of the type appropriate to the input argument.
type | the type of the Solver to be created |
theModel | the reference of the Model to be solved |
strLibraryName | name of the library, which contains solver realization |
Implemented in DianaSolverFactory.
virtual void Shutdown | ( | ) | throw (Common::Error::ECapeUnknown, Common::Error::ECapeNoImpl) [pure virtual] |
Shutdowns solver factory.
Implemented in DianaSolverFactory.