Nektar++
|
Convert for Array<OneD, T> to Python list of objects for numeric types, self-array types and shared_ptr types. More...
#include <SharedArray.hpp>
Public Member Functions | |
PYBIND11_TYPE_CASTER (Type, const_name("Array<OneD, ")+handle_type_name< T >::name+const_name(">")) | |
bool | load (handle src, bool enable) |
template<typename U = T, std::enable_if_t< std::is_arithmetic_v< U >, bool > = true> | |
bool | load_impl (handle src, bool) |
template<typename U = T, std::enable_if_t< is_shared_ptr< typename std::remove_const< U >::type >::value||is_nekarray_oned< U >::value, bool > = true> | |
bool | load_impl (handle src, bool) |
Static Public Member Functions | |
static handle | cast (Nektar::Array< Nektar::OneD, T > const &arr, return_value_policy policy, handle parent) |
static void | decrement (void *objPtr) |
template<typename U = T, std::enable_if_t< std::is_arithmetic_v< U >, bool > = true> | |
static handle | cast_impl (Nektar::Array< Nektar::OneD, T > const &arr, return_value_policy, handle) |
template<typename U = T, std::enable_if_t< is_shared_ptr< typename std::remove_const< U >::type >::value||is_nekarray_oned< U >::value, bool > = true> | |
static handle | cast_impl (Nektar::Array< Nektar::OneD, U > const &arr, return_value_policy, handle) |
Convert for Array<OneD, T> to Python list of objects for numeric types, self-array types and shared_ptr types.
Type | The overall type Array<OneD, T> |
T | The data type T |
Definition at line 69 of file Python/BasicUtils/SharedArray.hpp.
|
inlinestatic |
Definition at line 80 of file Python/BasicUtils/SharedArray.hpp.
References pybind11::detail::nekarray_caster< Type, T >::cast_impl().
|
inlinestatic |
Definition at line 136 of file Python/BasicUtils/SharedArray.hpp.
Referenced by pybind11::detail::nekarray_caster< Type, T >::cast().
|
inlinestatic |
Definition at line 201 of file Python/BasicUtils/SharedArray.hpp.
|
inlinestatic |
Definition at line 119 of file Python/BasicUtils/SharedArray.hpp.
Referenced by pybind11::detail::nekarray_caster< Type, T >::load_impl().
|
inline |
Definition at line 75 of file Python/BasicUtils/SharedArray.hpp.
References pybind11::detail::nekarray_caster< Type, T >::load_impl().
|
inline |
Definition at line 88 of file Python/BasicUtils/SharedArray.hpp.
References pybind11::detail::nekarray_caster< Type, T >::decrement().
Referenced by pybind11::detail::nekarray_caster< Type, T >::load().
|
inline |
Definition at line 164 of file Python/BasicUtils/SharedArray.hpp.
pybind11::detail::nekarray_caster< Type, T >::PYBIND11_TYPE_CASTER | ( | Type | , |
const_name("Array<OneD, ")+handle_type_name< T >::name+const_name(">") | |||
) |