/[lmdze]/trunk/phylmd/CMakeLists.txt
ViewVC logotype

Annotation of /trunk/phylmd/CMakeLists.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 341 - (hide annotations)
Mon Oct 21 06:11:44 2019 UTC (4 years, 7 months ago) by guez
File MIME type: text/plain
File size: 1385 byte(s)
Remove intermediate variables in `pbl_surface`

Remove file `diagcld2.f90`, no longer used since revision 340.

In procedure cdrag, rename zcdn to cdn. In procedure `interfsurf_hq`,
rename `temp_air` to t1lay: this is the corresponding name in
`calcul_fluxs`, is consistent with the other names `[uvq]1lay` and is
more precise.

In procedure `pbl_surface`, rename t and q to `t_seri` and `q_seri`,
which are the names in procedure physiq. Remove needless intermediate
variables qair1, tairsol, psfce, patm and zgeo1. Remove useless
initialization of yrugos. Remove a useless assignment `i = ni(j)`.

1 guez 338 set(file_list_var aaam_bud.f90 ajsec.f90 chem.f90 clesphys2.f90
2     clesphys.f90 clouds_gno.f90 cltrac.f90 cltracrn.f90 comfisrtilp.f90
3     comgeomphy.f90 concvl.f90 conf_phys.f90 cv_driver.f90 cvltr.f90
4 guez 341 diagcld1.f90 dimphy.f90 dimsoil.f90 FCTTRE.f90
5 guez 338 fisrtilp.f90 gr_phy_write.f90 hgardfou.f90 histwrite_phy.f90
6     indicesol.f90 ini_histins.f90 initrrnpb.f90 minmaxqfi.f90
7     newmicro.f90 nflxtr.f90 orbite.f90 ozonecm.f90 phyetat0.f90
8     phyredem0.f90 phyredem.f90 physiq.f90 phytrac.f90 radepsi.f90
9     radiornpb.f90 suphec.f90 time_phylmdz.f90 transp.f90 transp_lay.f90
10     yoethf.f90 YOMCST.f90 zenang.f90)
11    
12 guez 329 list(TRANSFORM file_list_var PREPEND ${CMAKE_CURRENT_LIST_DIR}/)
13     target_sources(LMDZE_objects PRIVATE ${file_list_var})
14    
15     foreach(my_dir Mobidic Thermcell Orography Radlwsw CV30_routines Conflx
16     Interface_surf)
17     include(${CMAKE_CURRENT_LIST_DIR}/${my_dir}/CMakeLists.txt)
18     endforeach(my_dir)
19    
20     add_executable(test_orbite $<TARGET_OBJECTS:LMDZE_objects>
21     ${CMAKE_CURRENT_LIST_DIR}/test_orbite.f90)
22    
23     target_include_directories(test_orbite PRIVATE ${nr_util_INCLUDE_DIR})
24     target_link_libraries(test_orbite ${library_list})
25    
26     add_executable(test_ozonecm $<TARGET_OBJECTS:LMDZE_objects>
27     ${CMAKE_CURRENT_LIST_DIR}/test_ozonecm.f90)
28    
29     target_include_directories(test_ozonecm PRIVATE ${nr_util_INCLUDE_DIR}
30     ${netcdff_INCLUDE_DIR})
31    
32     target_link_libraries(test_ozonecm ${library_list})

  ViewVC Help
Powered by ViewVC 1.1.21