Skip to main content

Rocky Solver SDK 2025 R2

rocky_api_sph

Last update: 16.07.2025
1// (C) 2024 ANSYS, Inc. Unauthorized use, distribution, or duplication is prohibited.
2#pragma once
3
4// Includes =======================================================================================
5#include "rocky_api.h"
6
7#include "rocky_api_sph_functions.h"
8#include "sph/rocky_sph.hpp"
9
10#ifdef GPU_COMPILER
11# include "sph/api_cuda_sph.hpp"
12#else
13# include "sph/api_omp_sph.hpp"
14#endif
15
16// Free Functions =================================================================================
17IRockySPHModel get_sph_model(const IRockyModel& model);
18
19// Static check ===================================================================================
20static_assert(std::is_same<real_sph, float>::value, "real_sph type is not float");
Definition rocky_api.h:58
Definition rocky_sph_model_api.hpp:22

Connect with Ansys