htrdr

Solving radiative transfer in heterogeneous media
git clone git://git.meso-star.fr/htrdr.git
Log | Files | Refs | README | LICENSE

commit a0665f23e6855662677437f671527eea5a92c31d
parent 5a3d91414445ef7cd6760a1b7bd6b9dfdd503122
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri, 14 Feb 2025 15:44:00 +0100

planets: updated volume radiation balance data

Do not store the estimate per tetra. Store only the accumulator. The
corresponding estimate will be evaluated when writing results.

Add the accumulator of the per realisation time.

Diffstat:
Msrc/planets/htrdr_planets_c.h | 14+++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/planets/htrdr_planets_c.h b/src/planets/htrdr_planets_c.h @@ -56,10 +56,10 @@ static const struct planets_pixel_xwave PLANETS_PIXEL_XWAVE_NULL = PLANETS_PIXEL_XWAVE_NULL__; struct planets_pixel_image { - struct htrdr_estimate X; /* In W/m²/sr */ - struct htrdr_estimate Y; /* In W/m²/sr */ - struct htrdr_estimate Z; /* In W/m²/sr */ - struct htrdr_accum time; /* In µs */ + struct htrdr_estimate X; /* In W/m^2/sr */ + struct htrdr_estimate Y; /* In W/m^2/sr */ + struct htrdr_estimate Z; /* In W/m^2/sr */ + struct htrdr_accum time; /* In us */ }; #define PLANETS_PIXEL_IMAGE_NULL__ { \ HTRDR_ESTIMATE_NULL__, \ @@ -69,11 +69,11 @@ struct planets_pixel_image { } struct planets_voxel_radiative_budget { - struct htrdr_estimate estim; /* W/m^3 */ - struct htrdr_accum accum; /* W/m^3 */ + struct htrdr_accum volrad_budget; /* W/m^3 */ + struct htrdr_accum time; /* In us */ }; #define PLANETS_VOXEL_RADIATIVE_BUDGET { \ - HTRDR_ESTIMATE_NULL__, \ + HTRDR_ACCUM_NULL__, \ HTRDR_ACCUM_NULL__ \ }