Nektar++
|
Convert for Array<OneD, T> to Python list of objects for numeric types T. More...
#include <SharedArray.hpp>
Static Public Member Functions | |
static PyObject * | convert (Array< OneD, T > const &arr) |
template<typename U = T, std::enable_if_t< std::is_arithmetic< U >::value > * = nullptr> | |
static PyObject * | convert_impl (Array< OneD, U > const &arr) |
template<typename U = T, std::enable_if_t< is_shared_ptr< U >::value||is_nekarray_oned< U >::value > * = nullptr> | |
static PyObject * | convert_impl (Array< OneD, U > const &arr) |
Converter function. This copies entries into the Python list and relies on internal boost converter being available for the shared_ptr type. More... | |
Convert for Array<OneD, T> to Python list of objects for numeric types T.
Definition at line 93 of file Python/BasicUtils/SharedArray.hpp.
|
inlinestatic |
Definition at line 95 of file Python/BasicUtils/SharedArray.hpp.
References OneDArrayToPython< T >::convert_impl().
|
inlinestatic |
Definition at line 102 of file Python/BasicUtils/SharedArray.hpp.
Referenced by OneDArrayToPython< T >::convert().
|
inlinestatic |
Converter function. This copies entries into the Python list and relies on internal boost converter being available for the shared_ptr type.
Definition at line 132 of file Python/BasicUtils/SharedArray.hpp.