... | ... | @@ -163,8 +163,10 @@ It mimic quite closely the configuration file provided by the user. |
|
|
To check that the radiative part of the physic has been requested, we will use a piece of code like (note that as radiative is a special case of adiabatic, we fist check that adiabatic physic is also requested):
|
|
|
```
|
|
|
if (physic().adiabatic && physic().adiabatic->radiative) {
|
|
|
if (physic().adiabatic->radiative->opacityLaw == OL_CONSTANT) {
|
|
|
... do what need to be done
|
|
|
}
|
|
|
}
|
|
|
```
|
|
|
|
|
|
## [Simulation](https://disc.pages.oca.eu/fargOCA/public/doxy/classfargOCA_1_1Simulation.html)
|
... | ... | |