![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Python bindings for the GSPH (Godunov SPH) model. More...
#include "shambase/exception.hpp"#include "shambase/memory.hpp"#include "shambindings/pybindaliases.hpp"#include "shambindings/pytypealias.hpp"#include "shamcomm/worldInfo.hpp"#include "shammath/sphkernels.hpp"#include "shammodels/common/shamrock_json_to_py_json.hpp"#include "shammodels/gsph/Model.hpp"#include "shamrock/scheduler/PatchScheduler.hpp"#include <pybind11/cast.h>#include <pybind11/numpy.h>#include <memory>
Include dependency graph for pyGSPHModel.cpp:Go to the source code of this file.
Functions | |
| template<class Tvec , template< class > class SPHKernel> | |
| void | add_gsph_instance (py::module &m, std::string name_config, std::string name_model) |
| Register_pymod (pygsphmodel) | |
Python bindings for the GSPH (Godunov SPH) model.
This provides Python interface for GSPH simulations using Riemann solvers.
References:
Definition in file pyGSPHModel.cpp.
| void add_gsph_instance | ( | py::module & | m, |
| std::string | name_config, | ||
| std::string | name_model | ||
| ) |
Definition at line 40 of file pyGSPHModel.cpp.
| Register_pymod | ( | pygsphmodel | ) |
Definition at line 308 of file pyGSPHModel.cpp.