66#define FACTORYREGISTER(scheme) \
67 std::string scheme##TimeIntegrationScheme::className = \
68 GetTimeIntegrationSchemeFactory().RegisterCreatorFunction( \
69 #scheme, scheme##TimeIntegrationScheme::create)
70#define SESSIONREGISTER(scheme) \
71 std::string scheme##TimeIntegrationScheme::TimeIntegrationMethodLookupId = \
72 SessionReader::RegisterEnumValue("TimeIntegrationMethod", #scheme, 0)
static std::string className
static TimeIntegrationSchemeSharedPtr create(std::string variant, size_t order, std::vector< NekDouble > freeParams)
static TimeIntegrationSchemeSharedPtr create(std::string variant, size_t order, std::vector< NekDouble > freeParams)
Creator.
static std::string className
static std::string className
static TimeIntegrationSchemeSharedPtr create(std::string variant, size_t order, std::vector< NekDouble > freeParams)
static TimeIntegrationSchemeSharedPtr create(std::string variant, size_t order, std::vector< NekDouble > freeParams)
static std::string className
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, std::string pDesc="")
Register a class with the factory.
static TimeIntegrationSchemeSharedPtr create(std::string variant, size_t order, std::vector< NekDouble > freeParams)
static std::string className
TimeIntegrationSchemeFactory & GetTimeIntegrationSchemeFactory()
FACTORYREGISTER(AdamsBashforth)
SESSIONREGISTER(AdamsBashforthOrder1)