Exposes T3N Lattices to pythen. More...
#include "python_module/cpp_pyten/inc/pyb.h"
#include "python_module/cpp_pyten/inc/expose_class.h"
#include "inc/t3n/lattice.h"
Namespaces | |
namespace | syten |
Syten namespace. | |
namespace | syten::Pyten |
Contains the initialisation functions for Python bindings. | |
Functions | |
syten::Pyten::def ("__setitem__", [](T3N::Lattice::Phys &bt, std::vector< Index > const &coord, SBasis const &basis) { bt[coord]->v=basis;}) | |
syten::Pyten::def ("size",&T3N::Lattice::Phys::size) .def("__getitem__" | |
<<<<<<< HEAD void init_t3nl(py::module &mp_mod) {=======void init_t3nl(py::module &mp_mod) { > > > > > > | syten::Pyten::expose_syten_class< T3N::Lattice::Phys > (mp_mod, "Phys") .def("__eq__" |
Exposes T3NLs. More... | |
Variables | |
T3N::Lattice::Phys & | syten::Pyten::bt |
T3N::Lattice::Phys std::vector< Index > const & | syten::Pyten::coord { return bt[coord]->v |
<<<<<<< HEAD void init_t3nl(py::module &mp_mod) {=======void init_t3nl(py::module &mp_mod) { > > > > > > T3N::Lattice::Phys const T3N::Lattice::Phys const & | syten::Pyten::other { return self == other |
<<<<<<< HEAD void init_t3nl(py::module &mp_mod) {=======void init_t3nl(py::module &mp_mod) { > > > > > > T3N::Lattice::Phys const & | syten::Pyten::self |
Exposes T3N Lattices to pythen.