11 std::map<std::string, std::shared_ptr<SimpleForceSource>> force_names;
13 auto global_downwards_gravity = std::make_shared<GlobalDownwardsGravity>(0);
15 force_names.insert({std::string(*global_downwards_gravity), global_downwards_gravity});
21 std::map<std::string, std::shared_ptr<PairwiseForceSource>> force_names;
23 auto lennardjones = std::make_shared<LennardJonesForce>();
24 auto gravitational = std::make_shared<GravitationalForce>();
25 auto global_downwards_gravity = std::make_shared<GlobalDownwardsGravity>(0);
27 force_names.insert({std::string(*lennardjones), lennardjones});
28 force_names.insert({std::string(*gravitational), gravitational});
const std::map< std::string, std::shared_ptr< SimpleForceSource > > get_supported_simple_forces()
const std::map< std::string, std::shared_ptr< PairwiseForceSource > > get_supported_pairwise_forces()