stardis-solver

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

commit 89d1b58ce74c17d4a669b148d4a66d889cd62c75
parent 925628a7781e1ab57ff25e48099358ac83f00e3e
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri,  1 Mar 2019 11:15:31 +0100

Relax the "check_green_function" function

Diffstat:
Msrc/test_sdis_utils.h | 16++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/test_sdis_utils.h b/src/test_sdis_utils.h @@ -253,24 +253,24 @@ check_estimator_eq OK(sdis_estimator_get_temperature(e1, &mc1)); OK(sdis_estimator_get_temperature(e2, &mc2)); - CHK(mc1.E + mc1.SE >= mc2.E - mc2.SE); - CHK(mc1.E - mc1.SE <= mc2.E + mc2.SE); + CHK(mc1.E + 3*mc1.SE >= mc2.E - 3*mc2.SE); + CHK(mc1.E - 3*mc1.SE <= mc2.E + 3*mc2.SE); if(type1 == SDIS_ESTIMATOR_FLUX) { OK(sdis_estimator_get_convective_flux(e1, &mc1)); OK(sdis_estimator_get_convective_flux(e2, &mc2)); - CHK(mc1.E + mc1.SE >= mc2.E - mc2.SE); - CHK(mc1.E - mc1.SE <= mc2.E + mc2.SE); + CHK(mc1.E + 3*mc1.SE >= mc2.E - 3*mc2.SE); + CHK(mc1.E - 3*mc1.SE <= mc2.E + 3*mc2.SE); OK(sdis_estimator_get_radiative_flux(e1, &mc1)); OK(sdis_estimator_get_radiative_flux(e2, &mc2)); - CHK(mc1.E + mc1.SE >= mc2.E - mc2.SE); - CHK(mc1.E - mc1.SE <= mc2.E + mc2.SE); + CHK(mc1.E + 3*mc1.SE >= mc2.E - 3*mc2.SE); + CHK(mc1.E - 3*mc1.SE <= mc2.E + 3*mc2.SE); OK(sdis_estimator_get_total_flux(e1, &mc1)); OK(sdis_estimator_get_total_flux(e2, &mc2)); - CHK(mc1.E + mc1.SE >= mc2.E - mc2.SE); - CHK(mc1.E - mc1.SE <= mc2.E + mc2.SE); + CHK(mc1.E + 3*mc1.SE >= mc2.E - 3*mc2.SE); + CHK(mc1.E - 3*mc1.SE <= mc2.E + 3*mc2.SE); } }