Skip to content
Snippets Groups Projects
Commit 9f4121b6 authored by Magdalena Sophia Fritz's avatar Magdalena Sophia Fritz
Browse files

Update WRF.md

parent 4083e5d5
No related branches found
No related tags found
1 merge request!2WRF.md
...@@ -398,7 +398,7 @@ This means: ...@@ -398,7 +398,7 @@ This means:
1. When editing the source code, always work on the .F files, otherwise changes will be lost on the next compilation. 1. When editing the source code, always work on the .F files, otherwise changes will be lost on the next compilation.
2. In the .F files, it is possible to include `#ifdef` and `#ifndef` directives for conditional compilation. 2. In the .F files, it is possible to include `#ifdef` and `#ifndef` directives for conditional compilation.
For instance, in `dyn_em/module_initialize_ideal.F`, the following bits of code define the model orography for idealized large-eddy simulation runs. Four possibilities are given: `MTN`, `EW_RIDGE`, `NS_RIDGE`, and `NS_VALLEY`. If none is selected at compile time, none of these code lines is compiled and `grid%ht(i,j)` (the model orography) is set to 0: For instance, in `dyn_em/module_initialize_ideal.F`, the following bits of code define the model orography for idealized large-eddy simulation runs. Four possibilities are given: `MTN`, `EW_RIDGE`, `NS_RIDGE`, and `NS_VALLEY`. If none is selected at compile time (select by adding `!` in front of #ifdef and #endif), none of these code lines is compiled and `grid%ht(i,j)` (the model orography) is set to 0:
```fortran ```fortran
#ifdef MTN #ifdef MTN
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment