| 
    Nektar++
    
   | 
 
Converter for Python to Nektar::Array<OneD, T>. More...
#include <SharedArray.hpp>
Public Member Functions | |
| PythonToOneDArray () | |
| Default constructor.  More... | |
Static Public Member Functions | |
| static void * | convertible (PyObject *objPtr) | 
Determine whether the given objPtr is convertible to convertible to an Array type or not.  More... | |
| template<typename U = T, std::enable_if_t< std::is_arithmetic< U >::value > * = nullptr> | |
| static bool | try_convertible (py::object &obj) | 
| template<typename U = T, std::enable_if_t< is_shared_ptr< U >::value||is_nekarray_oned< U >::value > * = nullptr> | |
| static bool | try_convertible (py::object &obj) | 
| static void | decrement (void *objPtr) | 
| static void | construct (PyObject *objPtr, py::converter::rvalue_from_python_stage1_data *data) | 
| template<typename U = T, std::enable_if_t< std::is_arithmetic< U >::value > * = nullptr> | |
| static void | construct_impl (PyObject *objPtr, py::converter::rvalue_from_python_stage1_data *data) | 
| template<typename U = T, std::enable_if_t< is_shared_ptr< U >::value||is_nekarray_oned< U >::value > * = nullptr> | |
| static void | construct_impl (PyObject *objPtr, py::converter::rvalue_from_python_stage1_data *data) | 
Converter for Python to Nektar::Array<OneD, T>.
Definition at line 148 of file Python/BasicUtils/SharedArray.hpp.
      
  | 
  inline | 
Default constructor.
Definition at line 151 of file Python/BasicUtils/SharedArray.hpp.
References PythonToOneDArray< T >::construct(), and PythonToOneDArray< T >::convertible().
      
  | 
  inlinestatic | 
Definition at line 246 of file Python/BasicUtils/SharedArray.hpp.
References PythonToOneDArray< T >::construct_impl().
Referenced by PythonToOneDArray< T >::PythonToOneDArray().
      
  | 
  inlinestatic | 
Definition at line 254 of file Python/BasicUtils/SharedArray.hpp.
References PythonToOneDArray< T >::decrement().
Referenced by PythonToOneDArray< T >::construct().
      
  | 
  inlinestatic | 
Definition at line 297 of file Python/BasicUtils/SharedArray.hpp.
      
  | 
  inlinestatic | 
Determine whether the given objPtr is convertible to convertible to an Array type or not. 
This is a top-level function: different data types are handled separately in the ::try_convertible functions.
Definition at line 164 of file Python/BasicUtils/SharedArray.hpp.
References PythonToOneDArray< T >::try_convertible().
Referenced by PythonToOneDArray< T >::PythonToOneDArray().
      
  | 
  inlinestatic | 
Definition at line 232 of file Python/BasicUtils/SharedArray.hpp.
Referenced by PythonToOneDArray< T >::construct_impl().
      
  | 
  inlinestatic | 
Definition at line 181 of file Python/BasicUtils/SharedArray.hpp.
Referenced by PythonToOneDArray< T >::convertible().
      
  | 
  inlinestatic | 
Definition at line 205 of file Python/BasicUtils/SharedArray.hpp.