21 template <rowsize _row_size, rowsize _row_max = _row_size, rowsize _align = NoAlign>
24 return "AdjPairTracked" + pybind11_ArrayAdjacency_name_appends<_row_size, _row_max, _align>();
27 template <rowsize _row_size, rowsize _row_max = _row_size, rowsize _align = NoAlign>
36 py::enum_<MeshAdjState>(
m,
"MeshAdjState")
48 py::class_<AdjIndexInfo>(
m,
"AdjIndexInfo")
63 template <rowsize _row_size, rowsize _row_max = _row_size, rowsize _align = NoAlign>
64 tPy_AdjPairTracked<_row_size, _row_max, _align>
68 auto dnds_m = py::module_::import(
"DNDSR.DNDS");
69 auto baseCls = pybind11_ArrayAdjacencyPair_get_class<_row_size, _row_max, _align>(dnds_m);
71 return {
m, pybind11_AdjPairTracked_name<_row_size, _row_max, _align>().c_str(), baseCls};
75 template <rowsize _row_size, rowsize _row_max = _row_size, rowsize _align = NoAlign>
81 auto cls = pybind11_AdjPairTracked_declare<_row_size, _row_max, _align>(
m);
85 .def_readonly(
"idx", &TAdjWS::idx, py::return_value_policy::reference_internal)
87 .def(
"state", &TAdjWS::state)
88 .def(
"isLocal", &TAdjWS::isLocal)
89 .def(
"isGlobal", &TAdjWS::isGlobal)
90 .def(
"isBuilt", &TAdjWS::isBuilt)
91 .def(
"isWired", &TAdjWS::isWired);
Eigen::Matrix< real, 3, 3 > m
void pybind11_MeshAdjState_define(py::module_ &m)
void pybind11_AdjIndexInfo_define(py::module_ &m)
py_class_ssp< AdjPairTracked< ArrayAdjacencyPair< _row_size, _row_max, _align > > > tPy_AdjPairTracked
tPy_AdjPairTracked< _row_size, _row_max, _align > pybind11_AdjPairTracked_declare(py::module_ &m)
std::string pybind11_AdjPairTracked_name()
void pybind11_AdjPairTracked_define(py::module_ &m)
Define all AdjPairTracked-specific methods on the pybind11 class.
py::classh< T > py_class_ssp
Convenience bundle of a father, son, and attached ArrayTransformer.
MeshAdjState state() const
Flattened wrapper: inherits from TPair and adds AdjIndexInfo.