stardis-solver

Solve coupled heat transfers
git clone git://git.meso-star.fr/stardis-solver.git
Log | Files | Refs | README | LICENSE

commit 56385bc28c779ccb002689f3ed207de7b2f841b7
parent 6e551f095d0afb9e7a062f5d40fc5d74560596cc
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Mon,  5 Oct 2020 12:44:40 +0200

Remove useless code

Time is INF already and don't need to be forced

Diffstat:
Msrc/sdis_green.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/sdis_green.c b/src/sdis_green.c @@ -1508,7 +1508,6 @@ green_path_set_limit_interface_fragment if(res != RES_OK) return res; handle->path->elapsed_time = elapsed_time; handle->path->limit.fragment = *frag; - handle->path->limit.fragment.time = INF; handle->path->limit_id = interface_get_id(interf); handle->path->limit_type = SDIS_FRAGMENT; return RES_OK; @@ -1528,7 +1527,6 @@ green_path_set_limit_vertex if(res != RES_OK) return res; handle->path->elapsed_time = elapsed_time; handle->path->limit.vertex = *vert; - handle->path->limit.vertex.time = INF; handle->path->limit_id = medium_get_id(mdm); handle->path->limit_type = SDIS_VERTEX; return RES_OK;