rnatm

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

commit e78ad3f15077b773595450e12bf0a14fe8290853
parent 72a23e38d186959ffc8a12f17d7c33196895d0de
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Tue, 26 Jul 2022 18:34:55 +0200

Hack the partition

Only handle the first quadrature point of the first band

Diffstat:
Msrc/rnatm_voxel_partition.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/rnatm_voxel_partition.c b/src/rnatm_voxel_partition.c @@ -291,6 +291,7 @@ partition_clear_voxels(struct partition* partition) ASSERT(partition); nbands = darray_size_t_list_size_get(&partition->cluster_offsets); + nbands = 1; /* FIXME For tests */ FOR_EACH(iband, 0, nbands) { const struct darray_size_t* band_offsets; @@ -298,6 +299,7 @@ partition_clear_voxels(struct partition* partition) band_offsets = darray_size_t_list_cdata_get(&partition->cluster_offsets)+iband; nquad_pts = darray_size_t_size_get(band_offsets); + nquad_pts = 1; /* FIXME For tests */ FOR_EACH(iquad_pt, 0, nquad_pts) { size_t ivoxel = 0;