// SPDX-FileCopyrightText: 2026 Filip Leonarski, Paul Scherrer Institute // SPDX-License-Identifier: GPL-3.0-only #pragma once // pi as a plain constexpr so it is usable everywhere: // - host code on MSVC, which does not define M_PI without _USE_MATH_DEFINES; // - CUDA device code, which is compiled as C++17 here, so PI // (C++20) is not available. constexpr double PI = 3.14159265358979323846;