htrdr

Solving radiative transfer in heterogeneous media
git clone git://git.meso-star.fr/htrdr.git
Log | Files | Refs | README | LICENSE

commit d2f33cb9189309d81fd866db8e3b25b25d637b03
parent 768970bf7a382cd98e41f2374fa3dac27044883d
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Mon, 21 Nov 2022 17:00:56 +0100

htrdr-planeto : disallow default ref temperature

Diffstat:
Mdoc/htrdr-planeto.1.scd.in | 4+---
Msrc/planeto/htrdr_planeto_args.c | 3+++
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/doc/htrdr-planeto.1.scd.in b/doc/htrdr-planeto.1.scd.in @@ -232,9 +232,7 @@ TODO *Tref*=_temperature_ The reference temperature in Kelvin of the Planck function used to - continuously sample the longwave/shortwave spectral range. In longwave, it - is set to 290 K by default while in shortwave, its default value is the - temperature of the sun's blackbody (i.e. 5778 K). + continuously sample the longwave/shortwave spectral range. *-T* _optical-thickness_ Optical thickness used as a criterion to construct atmospheric acceleration diff --git a/src/planeto/htrdr_planeto_args.c b/src/planeto/htrdr_planeto_args.c @@ -529,6 +529,9 @@ htrdr_planeto_args_init(struct htrdr_planeto_args* args, int argc, char** argv) break; case 's': res = htrdr_args_spectral_parse(&args->spectral_domain, optarg); + if(res == RES_OK) { + res = check_spectral_args(&args->spectral_domain); + } break; case 'T': res = cstr_to_double(optarg, &args->optical_thickness);