stardis

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

commit cc907b099a120896d37d364cf4b2704b9cdfc1ac
parent 5bb06d7fae1db8b27d8cee1a22a096b9ffc751ca
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Thu, 21 Oct 2021 16:20:31 +0200

BugFix: new field was missing when copying some struct

Diffstat:
Msrc/stardis-app.h | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/stardis-app.h b/src/stardis-app.h @@ -244,10 +244,11 @@ error: static FINLINE res_T cp_h_boundary(struct h_boundary* dst, const struct h_boundary* src) { - dst->specular_fraction = src->specular_fraction; - dst->imposed_temperature = src->imposed_temperature; + dst->ref_temperature = src->ref_temperature; dst->emissivity = src->emissivity; + dst->specular_fraction = src->specular_fraction; dst->hc = src->hc; + dst->imposed_temperature = src->imposed_temperature; dst->mat_id = src->mat_id; return str_copy(&dst->name, &src->name); }