Page 1 of 1

use of CS_PHYSICAL_MODEL_FLAG

Posted: Tue Nov 02, 2021 10:04 am
by Cbarnaud
Hello all,

I was wondering which are the values corresponding to "CS_PHYSICAL_MODEL_FLAG".
There ares tests in the code "CS_PHYSICAL_MODEL_FLAG<=0" or "CS_PHYSICAL_MODEL_FLAG>=2" but I can't find in the documentation or in the source code a comment section to explain theses tests/values.

Best regards,
Camille B.

Re: use of CS_PHYSICAL_MODEL_FLAG

Posted: Wed Nov 03, 2021 6:07 pm
by Yvan Fournier
Hello,

Yes, the documentation is incomplete. This term is the C equivalent of ippmod(iphpar) in Fortran:

- 0: no specific physics
- 1: switch on the specific physics
- 2: switch on the specific physics plus radiative transfer with a parametric file

I don't know who thought that using the same indicator for something very generic ("a sepcific model is used") with something very specific (a certain radiative module confuguration) was a good idea, so we'll probably need to clean this up, but at least this is how it works today.

Best regards,

Yvan