Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
pybind11_stl.hpp
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
10#pragma once
11
19#ifdef SHAMROCK_VALARRAY_FIX
20 #include <type_traits>
21 #include <algorithm>
22 #include <utility>
23 #pragma GCC diagnostic push
24 #pragma GCC diagnostic ignored "-Wkeyword-macro"
25 #define noexcept
26 #include <valarray>
27 #undef noexcept
28 #pragma GCC diagnostic pop
29#endif
30
31#include <pybind11/stl.h>