28 namespace GravityModel
43 "Uniform gravity model. It returns the gravity vector in a Cartesian coordinate system at " 44 "a given position, which has a constant magitude for the whole domain. The vector points " 45 "down in cartesian coordinates and to the center of the sphere in spherical coordinates.");
63 switch (coordinate_system)
74 WBAssertThrow(
false,
"Invalid coordinate system when using the gravity vector function.");
#define WB_REGISTER_GRAVITY_MODEL(classname, name)
WorldBuilder::World * world
#define WBAssertThrow(condition, message)
std::unique_ptr< WorldBuilder::CoordinateSystems::Interface > coordinate_system
void declare_entry(const std::string &name, const Types::Interface &type, const std::string &documentation)
T get(const std::string &name)