rnatm

Load and structure data describing an atmosphere
git clone git://git.meso-star.fr/rnatm.git
Log | Files | Refs | README | LICENSE

commit d5b2f59fc405adf697cf4fd5ec62f54f3f3beef4
parent c41c0ba905d0247f8d621eae291403721d8a9d37
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed, 24 Aug 2022 18:29:12 +0200

Add the rnatm_get_octrees_count function

Diffstat:
Msrc/rnatm.c | 7+++++++
Msrc/rnatm.h | 4++++
2 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/rnatm.c b/src/rnatm.c @@ -278,6 +278,13 @@ rnatm_get_k_svx_voxel } } +size_t +rnatm_get_octrees_count(const struct rnatm* atm) +{ + ASSERT(atm); + return darray_accel_struct_size_get(&atm->accel_structs); +} + /******************************************************************************* * Local functions ******************************************************************************/ diff --git a/src/rnatm.h b/src/rnatm.h @@ -155,6 +155,10 @@ rnatm_get_k_svx_voxel const enum rnatm_radcoef radcoef, const enum rnatm_svx_op op); +RNATM_API size_t +rnatm_get_octrees_count + (const struct rnatm* atm); + RNATM_API res_T rnatm_write_vtk_octree (const struct rnatm* atm,