commit 1eb9018b25020c2a125e86f6c38fb4a50814900d
parent 4d22d0205ee36b2fa2ef92649782aeae98721ee8
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 15 Jun 2018 15:42:22 +0200
Merge branch 'release_0.8.1'
Diffstat:
5 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
@@ -60,6 +60,13 @@ informations on CMake.
## Release notes
+### Version 0.8.1
+
+- Fix the VTK of the receiver map: the receiver map was written as `double`
+ while the type notified in the VTK file was `float`. This might produce
+ errors on loading of the resulting VTK file. The VTK data type is now set to
+ `double` to make it consistent with the type of the written values.
+
### Version 0.8
Add the support of per-triangle absorbed flux density. The `per_primitive`
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
@@ -97,7 +97,7 @@ configure_file(${SOLSTICE_SOURCE_DIR}/../doc/solstice.1.txt.in
set(VERSION_MAJOR 0)
set(VERSION_MINOR 8)
-set(VERSION_PATCH 0)
+set(VERSION_PATCH 1)
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
configure_file(${SOLSTICE_SOURCE_DIR}/solstice_version.h.in
diff --git a/doc/solstice-input.5.txt b/doc/solstice-input.5.txt
@@ -782,8 +782,8 @@ each with its own set of parameters and behaviour.
It has a *target* and can have a *ref_point* and a *spacing* that defines
the translation along the +Y axis after the first rotation. If not
defined, *spacing* is 0. The *zx_pivot* pointing algorithm considers an
- incoming ray of light from the center of the sun and rotates the pivot's
- children of the pivot so that a specular reflection at *ref_point* using
+ incoming ray of light from the center of the sun and rotates its
+ children so that a specular reflection at *ref_point* using
+Y as local normal will hit the target point of the pivot, or will have
the specified direction (depending of the kind of target).
diff --git a/src/solstice_args.c b/src/solstice_args.c
@@ -324,7 +324,7 @@ parse_rendering_option(const char* str, struct solstice_args* args)
goto error;
}
} else {
- fprintf(stderr, "Invalid rendering option `%s'.\n", val);
+ fprintf(stderr, "Invalid rendering option `%s'.\n", key);
res = RES_BAD_ARG;
goto error;
}
diff --git a/src/solstice_solve.c b/src/solstice_solve.c
@@ -323,7 +323,7 @@ dump_per_primitive_mc_estimations
default: FATAL("Unreachable code.\n"); break;
}
- fprintf(solstice->output, "SCALARS %s_%s float 2\n", name, flux);
+ fprintf(solstice->output, "SCALARS %s_%s double 2\n", name, flux);
fprintf(solstice->output, "LOOKUP_TABLE default\n");
SSOL(instance_get_shaded_shapes_count(inst, &nshapes));