solstice

Compute collected power and efficiencies of a solar plant
git clone git://git.meso-star.com/solstice.git
Log | Files | Refs | README | LICENSE

commit 9359812055f6a3b35fb75e0f123164e4a218670a
parent c26b5612c98f16e8fd64726f746c8c44bac67bae
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Mon, 18 Sep 2017 16:36:28 +0200

Use Solstice-Anim 0.2 to avoid unnecessary pivot resolutions

Diffstat:
Mcmake/CMakeLists.txt | 2+-
Msrc/solstice_dump.c | 5+----
2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt @@ -44,7 +44,7 @@ set(LibYAML_DIR ${_current_source_dir}/) find_package(LibYAML REQUIRED) find_package(RCMake 0.2.3 REQUIRED) find_package(RSys 0.4 REQUIRED) -find_package(SolAnim 0.1 REQUIRED) +find_package(SolAnim 0.2 REQUIRED) find_package(SolSolver 0.4 REQUIRED) find_package(Star3DUT 0.2 REQUIRED) find_package(StarSP 0.4 REQUIRED) diff --git a/src/solstice_dump.c b/src/solstice_dump.c @@ -120,7 +120,6 @@ res_T solstice_dump(struct solstice* solstice) { struct dump_context ctx; - double dummy_dir[3] = {0, 0, 1}; size_t i, n; res_T res = RES_OK; ASSERT(solstice && solstice->dump_format == SOLSTICE_ARGS_DUMP_OBJ); @@ -135,9 +134,7 @@ solstice_dump(struct solstice* solstice) fprintf(solstice->output, "# %s\n", solstice_node_get_name(node)); - /* TODO use a anim tree visitor that neither resolve the pivot - * transformations nor compute the node transforms */ - res = sanim_node_visit_tree(&node->anim, dummy_dir, &ctx, dump_geometry); + res = sanim_node_visit_tree(&node->anim, NULL, &ctx, dump_geometry); if(res != RES_OK) { fprintf(stderr, "Could not dump the solstice geometry.\n"); goto error;