Shamrock
2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
main_lib.cpp
Go to the documentation of this file.
1
// -------------------------------------------------------//
2
//
3
// SHAMROCK code for hydrodynamics
4
// Copyright (c) 2021-2026 Timothée David--Cléris <tim.shamrock@proton.me>
5
// SPDX-License-Identifier: CeCILL Free Software License Agreement v2.1
6
// Shamrock is licensed under the CeCILL 2.1 License, see LICENSE for more information
7
//
8
// -------------------------------------------------------//
9
16
17
#include "
shambindings/pybindings.hpp
"
18
#include <pybind11/pybind11.h>
19
21
PYBIND11_MODULE
(pyshamrock, m) {
shambindings::init_lib
(m); }
PYBIND11_MODULE
PYBIND11_MODULE(pyshamrock, m)
Call bindings init for the shamrock python module.
Definition
main_lib.cpp:21
pybindings.hpp
shambindings::init_lib
void init_lib(py::module &m)
Init python bindings and register them to Python API.
Definition
pybindings.cpp:134
Generated on
for Shamrock by
1.15.0