OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
|
#include <Python.h>
#include <structmember.h>
#include <exception>
#include <iostream>
#include <boost/python.hpp>
#include "AbstractObjects/OpalData.h"
#include "AbstractObjects/Object.h"
#include "AbsBeamline/Ring.h"
#include "Elements/OpalRingDefinition.h"
Go to the source code of this file.
Functions | |
boost::python::object | get_field_value (double x, double y, double z, double t) |
BOOST_PYTHON_MODULE (boost_field) | |
Variables | |
std::string | get_field_value_docstring |
const char * | module_docstring = "field module returns the field" |
BOOST_PYTHON_MODULE | ( | boost_field | ) |
Definition at line 51 of file PyBoostField.cpp.
References get_field_value(), and get_field_value_docstring.
boost::python::object get_field_value | ( | double | x, |
double | y, | ||
double | z, | ||
double | t | ||
) |
Definition at line 31 of file PyBoostField.cpp.
References Ring::apply(), and Attrib::Distribution::R.
Referenced by BOOST_PYTHON_MODULE().
std::string get_field_value_docstring |
Definition at line 15 of file PyBoostField.cpp.
Referenced by BOOST_PYTHON_MODULE().
const char* module_docstring = "field module returns the field" |
Definition at line 49 of file PyBoostField.cpp.