-
- Downloads
Move the inner part of overlap to `write_overlap`
Add `.cmake` files. The idea is to have a build system independent of the environment. This allows us to have a customized version of `ConfigureCompilerFlags.cmake` without the `-ffpe-trap=invalid` option. Move the inner part of procedure overlap to a separate procedure `write_overlap`. overlap was too complex with 6 nested constructs. The downside is that the initialization of `e` is repeated for every non-successive overlap. If necessary, we can later add an initialization on first entry (but an initialization at declaration is not possible). `write_overlap` has some consistency: all the arguments are `intent(in)`, scalars or small vectors of intrinsic type, and `write_overlap` only writes to files. All modifications to flow are done outside of `write_overlap`.
Showing
- CMakeLists.txt 2 additions, 9 deletionsCMakeLists.txt
- ConfigureCompilerFlags.cmake 47 additions, 0 deletionsConfigureCompilerFlags.cmake
- FindNetCDF.cmake 41 additions, 0 deletionsFindNetCDF.cmake
- TAGS.cmake 61 additions, 0 deletionsTAGS.cmake
- Tests/CMakeLists.txt 1 addition, 0 deletionsTests/CMakeLists.txt
- overlap.f90 24 additions, 60 deletionsoverlap.f90
- write_overlap.f90 89 additions, 0 deletionswrite_overlap.f90
Loading
Please register or sign in to comment