15const std::string DUMMYDYNAMICS =
"Nextsim::DummyDynamics";
18Module<Nextsim::IDynamics>::map Module<Nextsim::IDynamics>::functionMap = {
19 { DUMMYDYNAMICS, newImpl<Nextsim::IDynamics, Nextsim::DummyDynamics> },
23Module<Nextsim::IDynamics>::fn Module<Nextsim::IDynamics>::spf = functionMap.at(DUMMYDYNAMICS);
25std::unique_ptr<Nextsim::IDynamics> Module<Nextsim::IDynamics>::staticInstance
26 = std::move(newImpl<Nextsim::IDynamics, Nextsim::DummyDynamics>());
28template <> std::string Module<Nextsim::IDynamics>::moduleName() {
return "Nextsim::IDynamics"; }
30template <> HelpMap& getHelpRecursive<Nextsim::IDynamics>(HelpMap& map,
bool getAll) {
return map; }
33 return getImplTemplate<Nextsim::IDynamics, DynamicsModule>();
35template <>
void setImplementation<Nextsim::IDynamics>(
const std::string& implName)
37 setImplTemplate<DynamicsModule>(implName);
39template <> std::unique_ptr<Nextsim::IDynamics> getInstance()
41 return getInstTemplate<Nextsim::IDynamics, DynamicsModule>();
43DynamicsModule::Constructor DynamicsModule::ctor;
44DynamicsModule::Constructor::Constructor()
46 addToConfiguredModules<Nextsim::IDynamics, DynamicsModule>();