stardis

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

commit 43e0876f71df86c952fde95ddc8c4bf63f778446
parent 8d2f226fa48e2d952f89d7d69c0fa9b6fc92b2f4
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Thu, 15 Sep 2022 12:15:38 +0200

Fix invalid asserts

Diffstat:
Msrc/stardis-hfbound-prog.c | 2+-
Msrc/stardis-hfbound.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/stardis-hfbound-prog.c b/src/stardis-hfbound-prog.c @@ -84,7 +84,7 @@ str_print_hf_boundary_prog { res_T res = RES_OK; const struct hf_boundary_prog* b; - ASSERT(str && desc && DESC_IS_H(desc)); + ASSERT(str && desc && DESC_IS_HF(desc)); b = desc->d.hf_boundary_prog; ERR(str_append_printf(str, "programmed HF boundary for %s '%s': lib='%s', " diff --git a/src/stardis-hfbound.c b/src/stardis-hfbound.c @@ -73,7 +73,7 @@ str_print_hf_boundary { res_T res = RES_OK; const struct hf_boundary* b; - ASSERT(str && desc && DESC_IS_H(desc)); + ASSERT(str && desc && DESC_IS_HF(desc)); b = desc->d.hf_boundary; ERR(str_append_printf(str, "H boundary for %s '%s': ref_temperature=%g emissivity=%g specular_fraction=%g "