|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
Classes | |
| struct | PyPolynomialPatch |
| PyPolynomialMap is the python implementation of the C++ PolynomialMap class. More... | |
Functions | |
| static PyObject * | _alloc (PyTypeObject *type, Py_ssize_t nitems) |
| _alloc allocates memory for PyPolynomialMap More... | |
| static int | _init (PyObject *self, PyObject *args, PyObject *kwds) |
| _init initialises an allocated PyPolynomialMap object More... | |
| static void | _dealloc (PyPolynomialMap *self) |
| deallocate memory More... | |
| static void | _free (PyPolynomialMap *self) |
| synonym for dealloc More... | |
| PyMODINIT_FUNC | initsquare_polynomial_map (void) |
| Initialise polynomial_map module. More... | |
| static PyObject * | get_coefficients_as_matrix (PyObject *self, PyObject *args, PyObject *kwds) |
| Get the PolynomialMap coefficients. More... | |
| static PyObject * | evaluate (PyObject *self, PyObject *args, PyObject *kwds) |
| Calculate a polynomial vector. More... | |
| struct PyPolynomialPatch::PyPolynomialPatch |
PyPolynomialMap is the python implementation of the C++ PolynomialMap class.
Provides a multivariate polynomial object
Definition at line 35 of file PyPolynomialPatch.h.

| Class Members | ||
|---|---|---|
| PolynomialPatch * | map | |
| PyObject_HEAD | ||
|
static |
_alloc allocates memory for PyPolynomialMap
| type | - pointer to aPyPolynomialMapType object, as defined in PyPolynomialMap.cc |
returns a PyPolynomialMap* (cast as a PyObject*); caller owns this memory
|
static |
deallocate memory
@params self an initialised PyPolynomialMap*; memory will be freed by this function
|
static |
synonym for dealloc
|
static |
_init initialises an allocated PyPolynomialMap object
| self | an initialised PyPolynomialMap* cast as a PyObject*; caller owns this memory |
| args | not used |
| kwds | not used |
|
static |
Calculate a polynomial vector.
| self | a PyPolynomialMap |
| args | arguments to the function (not used) |
| kwds | keyword arguments to the function - see docstring |
Referenced by Attributes::getBool(), Expressions::SRefAttr< T >::getReal(), Attributes::getReal(), Attributes::getRealArray(), Attributes::getString(), Attributes::getStringArray(), Attributes::getTokenList(), Attributes::getTokenListArray(), Attributes::StringArray::parseComponent(), Attributes::TokenListArray::parseComponent(), and Attributes::UpperCaseStringArray::parseComponent().
|
static |
Get the PolynomialMap coefficients.
| self | a PyPolynomialMap |
| args | arguments to the function (not used) |
| kwds | keyword arguments to the function - see docstring |
| PyMODINIT_FUNC PyPolynomialPatch::initsquare_polynomial_map | ( | void | ) |
Initialise polynomial_map module.
This is called by import polynomial_map; it initialises the PolynomialMap type allowing user to construct and call methods on PolynomialMap objects