![]() |
Shamrock 2025.10.0
Astrophysical Code
|
#include "shambase/logs/loglevels.hpp"#include "shambackends/typeAliasVec.hpp"#include "shambindings/pybind11_stl.hpp"#include "shambindings/pybindaliases.hpp"#include "shamcomm/logs.hpp"#include "shammath/AABB.hpp"#include "shampylib/PatchDataToPy.hpp"#include "shamrock/patch/Patch.hpp"#include "shamrock/scheduler/ShamrockCtx.hpp"#include <pybind11/numpy.h>#include <pybind11/pybind11.h>#include <variant>Go to the source code of this file.
Functions | |
| template<class T> | |
| void | register_patch_transform_class (py::module &m, std::string name) |
| shamlog_debug_ln ("[Py]", "registering shamrock.Patch") | |
| py::class_< shamrock::patch::Patch >(m, "Patch") .def(py | register_patch_transform_class< f64_3 > (m, "PatchCoordTransform_f64_3") |
| register_patch_transform_class< f32_3 > (m, "PatchCoordTransform_f32_3") | |
| register_patch_transform_class< i64_3 > (m, "PatchCoordTransform_i64_3") | |
| shamlog_debug_ln ("[Py]", "registering shamrock.Context") | |
Variables | |
| ON_PYTHON_INIT | |
Definition in file pyShamrockCtx.cpp.
|
inline |
Definition at line 30 of file pyShamrockCtx.cpp.
| ON_PYTHON_INIT |
Definition at line 49 of file pyShamrockCtx.cpp.