19 "Enge class is a field element that models a Enge function.\n"
21 "It is referenced and set to field elements by use of the OPAL name (note not\n"
22 "any python name). The OPAL name is set/retrieved using 'set_opal_name' and\n"
23 "'get_opal_name' respectively.\n";
28 "enge module holds an Enge end field 'plugin' class for use with field models\n";
34 auto elementClass = element.
make_class(
"Enge");
void registerExceptions()
void update(PyOpalObjectNS::PyOpalObject< C > pyelement)
double function(PyOpalObjectNS::PyOpalObject< C > pyobject, double x, int n)
const char * module_docstring
BOOST_PYTHON_MODULE(enge)
static std::vector< AttributeDef > attributes
boost::python::class_< PyC > make_class(const char *className)
static std::string classDocstring