11 std::vector<PyOpalObjectNS::AttributeDef>
23 "AsymmetricEnge class is a field plugin that models a AsymmetricEnge function.\n"
25 "It is referenced and set to field elements by use of the OPAL name (note not\n"
26 "any python name). The OPAL name is set using 'set_opal_name'.\n";
28 namespace PyAsymmetricEnge {
31 "asymmetric_enge module holds an AsymmetricEnge end field 'plugin' class for\n"
32 "use with field models\n";
39 elementClass.def(
"function", &PyOpal::PyEndFieldModel::function<OpalAsymmetricEnge>);
40 elementClass.def(
"update", &PyOpalObjectNS::update<OpalAsymmetricEnge>);
void registerExceptions()
Register exception translations with boost.
void Initialise()
Globals namespace provides routines to initialise global objects:
const char * module_docstring
BOOST_PYTHON_MODULE(asymmetric_enge)
PyOpalObject<C> is the basic wrapper class for Opal Objects.
boost::python::class_< PyC > make_element_class(const char *className)
This is the basic method to make a class for elements.