![]() |
Shamrock 2025.10.0
Astrophysical Code
|
#include "shambindings/pybind11_stl.hpp"#include "shambindings/pybindaliases.hpp"#include "shamrock/patch/PatchDataLayer.hpp"#include <pybind11/numpy.h>#include <pybind11/pybind11.h>#include <optional>Go to the source code of this file.
Classes | |
| class | shamrock::VecToNumpy< T > |
| class | shamrock::VecToNumpy< sycl::vec< T, 2 > > |
| class | shamrock::VecToNumpy< sycl::vec< T, 3 > > |
| class | shamrock::VecToNumpy< sycl::vec< T, 4 > > |
| class | shamrock::VecToNumpy< sycl::vec< T, 8 > > |
| class | shamrock::VecToNumpy< sycl::vec< T, 16 > > |
| class | shamrock::PatchDataLazyGetter |
| Lazily fetches a single named field of a patch as a numpy array, on demand. More... | |
Namespaces | |
| namespace | shamrock |
| namespace for the main framework | |
Functions | |
| template<class T> | |
| void | shamrock::append_to_map (std::string key, std::vector< std::reference_wrapper< shamrock::patch::PatchDataLayer > > ref_lst, py::dict &dic_out) |
| template<class T> | |
| void | shamrock::append_to_map (std::string key, std::vector< std::unique_ptr< shamrock::patch::PatchDataLayer > > &lst, py::dict &dic_out) |
| py::dict | shamrock::pdat_to_dic (shamrock::patch::PatchDataLayer &pdat) |
| template<class T> | |
| bool | shamrock::details::try_get_field_as_np (shamrock::patch::PatchDataLayer &pdat, const std::string &key, std::optional< py::object > &ret) |
Definition in file PatchDataToPy.hpp.
|
inline |
Definition at line 255 of file PatchDataToPy.hpp.