38 std::vector<PyOpalObjectNS::AttributeDef>
58 "ScalingFFAMagnet class is a field element that models a Scaling FFA magnet.";
62 const char*
module_docstring =
"scaling_ffa_magnet contains the ScalingFFAMagnet class";
65 "Check for changes to the EndFieldModel and update the ScalingFFAMagnet "
67 "This is done automatically the first time the ScalingFFAMagnet is used but not for\n"
68 "subsequent uses. WARNING: if user changes the end field model, user must call\n"
69 "'update_end_field' manually to load the new parameters.\n"
71 "May throw RuntimeError if the EndFieldModel is not valid or cannot be found.\n"
void registerExceptions()
BOOST_PYTHON_MODULE(scaling_ffa_magnet)
std::string update_docstr
const char * module_docstring
static std::vector< AttributeDef > attributes
std::shared_ptr< C > object_m
void addGetFieldValue(PYCLASS &pyclass, double distanceUnits, double timeUnits, double bfieldUnits, double efieldUnits)
boost::python::class_< PyC > make_element_class(const char *className)
static std::string classDocstring