rnatm

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

commit 863ff66c6439f3666316a7368d21e4138c2cd85e
parent 287a8e698759a1289fa6362deb31b8e4e5947f62
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri,  5 May 2023 09:44:16 +0200

Merge branch 'release_0.0.1' into develop

Diffstat:
MREADME.md | 16++++++++++++++++
Mcmake/CMakeLists.txt | 2+-
2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md @@ -38,6 +38,22 @@ resulting project can be edited, built, tested and installed as any CMake project. Refer to the [CMake documentation](https://cmake.org/documentation) for further informations on CMake. +## Release notes + +### Version 0.0.1 + +Fix several bugs when volumetric meshes of the components are not identical: + +- Fix the `rnatm_sample_component` function. The cumulative was + calculated assuming that all components are either present or absent at the + queried position. Thus, the accumulation was only correct when the volumetric + meshes were the same for all components. +- Fix the calculation of the minimum radiative coefficient of a voxel in the + octree. It was simply miscalculated and its value might not be the minimum. +- Fix the accumulation of radiative coefficients in the voxels of the octree. + When the volumetric meshes were not the same for all components, some voxels + could be "emptied" during the accumulation. + ## Copyright notice Copyright (C) 2022, 2023 Centre National de la Recherche Scientifique diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt @@ -64,7 +64,7 @@ include_directories( ################################################################################ set(VERSION_MAJOR 0) set(VERSION_MINOR 0) -set(VERSION_PATCH 0) +set(VERSION_PATCH 1) set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}) set(RNATM_FILES_SRC