#include <VarCoeffEntry.hpp>
Definition at line 53 of file VarCoeffEntry.hpp.
◆ cast()
◆ load()
bool pybind11::detail::type_caster< VarCoeffEntry >::load |
( |
handle |
src, |
|
|
bool |
|
|
) |
| |
|
inline |
Definition at line 58 of file VarCoeffEntry.hpp.
59 {
60 if (!array_t<NekDouble>::check_(src))
61 {
62 return false;
63 }
64
65 auto arr =
66 array_t<NekDouble, array::c_style | array::forcecast>::ensure(src);
67 if (!arr)
68 {
69 return false;
70 }
71
72 if (arr.ndim() != 1)
73 {
74 return false;
75 }
76
79
80 return true;
81 }
◆ PYBIND11_TYPE_CASTER()