![]() |
Shamrock 2025.10.0
Astrophysical Code
|
#include "shambase/exception.hpp"#include "shambase/logs/loglevels.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/sph/Model.hpp"#include "shammodels/sph/io/PhantomDump.hpp"#include "shammodels/sph/modules/AnalysisAngularMomentum.hpp"#include "shammodels/sph/modules/AnalysisBarycenter.hpp"#include "shammodels/sph/modules/AnalysisDisc.hpp"#include "shammodels/sph/modules/AnalysisEnergyKinetic.hpp"#include "shammodels/sph/modules/AnalysisEnergyPotential.hpp"#include "shammodels/sph/modules/AnalysisSodTube.hpp"#include "shammodels/sph/modules/AnalysisTotalMomentum.hpp"#include "shammodels/sph/modules/render/CartesianRender.hpp"#include "shammodels/sph/modules/render/RenderFieldGetter.hpp"#include "shamphys/SodTube.hpp"#include "shamrock/scheduler/PatchScheduler.hpp"#include <pybind11/cast.h>#include <pybind11/numpy.h>#include <pybind11/pytypes.h>#include <memory>#include <optional>#include <random>#include <utility>
Include dependency graph for pySPHModel.cpp:Go to the source code of this file.
Functions | |
| template<class Tvec , template< class > class SPHKernel> | |
| void | add_instance (py::module &m, std::string name_config, std::string name_model) |
| template<class Tvec , template< class > class SPHKernel> | |
| void | add_analysisBarycenter_instance (py::module &m, const std::string &name_model) |
| template<class Tvec , template< class > class SPHKernel> | |
| void | add_analysisEnergyKinetic_instance (py::module &m, const std::string &name_model) |
| template<class Tvec , template< class > class SPHKernel> | |
| void | add_analysisEnergyPotential_instance (py::module &m, const std::string &name_model) |
| template<class Tvec , template< class > class SPHKernel> | |
| void | add_analysisTotalMomentum_instance (py::module &m, const std::string &name_model) |
| template<class Tvec , template< class > class SPHKernel> | |
| void | add_analysisAngularMomentum_instance (py::module &m, const std::string &name_model) |
| template<class Analysis , typename Tvec , template< class > class SPHKernel> | |
| auto | analysis_impl (shammodels::sph::Model< Tvec, SPHKernel > &model) -> Analysis |
| template<template< class, template< class > class > class Analysis> | |
| void | register_analysis_impl_for_each_kernel (py::module &msph, const char *name_class) |
| Register_pymod (pysphmodel) | |
Definition in file pySPHModel.cpp.
| void add_analysisAngularMomentum_instance | ( | py::module & | m, |
| const std::string & | name_model | ||
| ) |
Definition at line 1391 of file pySPHModel.cpp.
| void add_analysisBarycenter_instance | ( | py::module & | m, |
| const std::string & | name_model | ||
| ) |
Definition at line 1325 of file pySPHModel.cpp.
| void add_analysisEnergyKinetic_instance | ( | py::module & | m, |
| const std::string & | name_model | ||
| ) |
Definition at line 1343 of file pySPHModel.cpp.
| void add_analysisEnergyPotential_instance | ( | py::module & | m, |
| const std::string & | name_model | ||
| ) |
Definition at line 1359 of file pySPHModel.cpp.
| void add_analysisTotalMomentum_instance | ( | py::module & | m, |
| const std::string & | name_model | ||
| ) |
Definition at line 1375 of file pySPHModel.cpp.
| void add_instance | ( | py::module & | m, |
| std::string | name_config, | ||
| std::string | name_model | ||
| ) |
Definition at line 48 of file pySPHModel.cpp.
| auto analysis_impl | ( | shammodels::sph::Model< Tvec, SPHKernel > & | model | ) | -> Analysis |
Definition at line 1408 of file pySPHModel.cpp.
| void register_analysis_impl_for_each_kernel | ( | py::module & | msph, |
| const char * | name_class | ||
| ) |
Definition at line 1413 of file pySPHModel.cpp.
| Register_pymod | ( | pysphmodel | ) |
Definition at line 1473 of file pySPHModel.cpp.