Diana
0.8.3
|
#include <CapeModel.hpp>
Public Member Functions | |
virtual ICapeNumericModel * | CreateModel (CapeModelType typeOfTheModel, Common::Types::CapeString strLibraryName=Common::Types::CapeStringUNDEFINED)=0 throw (Common::Error::ECapeUnknown, Common::Error::ECapeInvalidArgument, Common::Error::ECapeOutOfBounds, Common::Error::ECapeOutOfResources, Common::Error::ECapeFailedInitialisation) |
This is the interface of the Model object, which is used to represent hierarchical sets of equations, or aggregate sets of equations.
virtual ICapeNumericModel* CreateModel | ( | CapeModelType | typeOfTheModel, |
Common::Types::CapeString | strLibraryName = Common::Types::CapeStringUNDEFINED |
||
) | throw (Common::Error::ECapeUnknown, Common::Error::ECapeInvalidArgument, Common::Error::ECapeOutOfBounds, Common::Error::ECapeOutOfResources, Common::Error::ECapeFailedInitialisation) [pure virtual] |
Creates a new simulation model for a specific unit or for a complete flowsheet.
typeOfTheModel | the type of the model |
strLibraryName | name of the modle library. It can be either absolute or relative path. Also library can be placed in the $LD_LIBRARY_PATH locations, ${LIBDIR} or current work directory. |
Implemented in DianaModelManager.