stardis

Perform coupled heat transfer calculations
git clone git://git.meso-star.fr/stardis.git
Log | Files | Refs | README | LICENSE

commit 961fdadf2fdef288f450c3f357156b8058185850
parent 1686b77597b05fec8fe9657a17bd4d42ba95ceb3
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Thu, 18 Jul 2019 12:28:45 +0200

Fix a wrong code introduced when refactoring

Diffstat:
Msrc/stardis-compute.c | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/stardis-compute.c b/src/stardis-compute.c @@ -587,8 +587,7 @@ compute_boundary enum stardis_mode mode) { res_T res = RES_OK; - double time[2], pos[3], uv[2] = { 0,0 }; - size_t iprim = SIZE_MAX; + double time[2], pos[3]; struct sdis_green_function* green = NULL; struct sdis_estimator* estimator = NULL; @@ -603,8 +602,6 @@ compute_boundary } d3_set(pos, stardis->probe); - res = select_probe_type(scn, stardis, 0, pos, &iprim, uv); - if (res != RES_OK) goto error; if (mode & GREEN_MODE) { ASSERT(iprim == SIZE_MAX);