Changeset 3684 for palm/trunk/SOURCE
- Timestamp:
- Jan 20, 2019 8:20:58 PM (6 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/Makefile
r3679 r3684 1342 1342 synthetic_turbulence_generator_mod.o \ 1343 1343 urban_surface_mod.o \ 1344 user_actions.o \ 1344 1345 user_read_restart_data_mod.o \ 1345 1346 user_write_restart_data_mod.o \ … … 1400 1401 modules.o \ 1401 1402 pmc_interface_mod.o \ 1402 surface_mod.o \ 1403 user_actions.o 1403 surface_mod.o 1404 1404 outflow_turbulence.o: \ 1405 1405 cpulog_mod.o \ … … 1541 1541 mod_kinds.o \ 1542 1542 mod_kinds.o \ 1543 module s.o \1543 module_interface.o \ 1544 1544 modules.o \ 1545 1545 ocean_mod.o \ … … 1551 1551 surface_mod.o \ 1552 1552 turbulence_closure_mod.o \ 1553 user_actions.o \1554 1553 wind_turbine_model_mod.o 1555 1554 progress_bar_mod.o: \ … … 1691 1690 data_output_flight.o \ 1692 1691 disturb_heatflux.o \ 1693 gust_mod.o \1694 1692 indoor_model_mod.o \ 1695 1693 interaction_droplets_ptq.o \ … … 1715 1713 turbulence_closure_mod.o\ 1716 1714 urban_surface_mod.o \ 1717 user_actions.o \1718 1715 vertical_nesting_mod.o \ 1719 1716 virtual_flight_mod.o \ … … 1767 1764 pmc_interface_mod.o \ 1768 1765 surface_layer_fluxes_mod.o \ 1769 surface_mod.o \ 1770 user_actions.o 1766 surface_mod.o 1771 1767 urban_surface_mod.o: \ 1772 1768 basic_constants_and_equations_mod.o \ -
palm/trunk/SOURCE/module_interface.f90
r3655 r3684 130 130 gust_check_data_output, & 131 131 gust_header, & 132 gust_actions, & 132 133 gust_swap_timelevel, & 133 134 gust_3d_data_averaging, & … … 240 241 usm_rrd_local, & 241 242 usm_wrd_local 243 244 USE user_actions_mod, & 245 ONLY: user_actions 242 246 243 247 USE user_read_restart_data_mod, & … … 637 641 638 642 643 IF ( gust_module_enabled ) CALL gust_actions( location ) 644 645 CALL user_actions( location ) ! ToDo: make user module switch 646 647 639 648 END SUBROUTINE module_interface_actions 640 649 … … 651 660 INTEGER(iwp), INTENT(IN) :: j !< grid index in y-direction 652 661 CHARACTER (LEN=*), INTENT(IN) :: location !< call location string 662 663 664 IF ( gust_module_enabled ) CALL gust_actions( i, j, location ) 665 666 CALL user_actions( i, j, location ) ! ToDo: make user module switch 653 667 654 668 -
palm/trunk/SOURCE/ocean_mod.f90
r3636 r3684 1504 1504 surf_usm_v 1505 1505 1506 USE user_actions_mod, &1507 ONLY: user_actions1508 1509 1506 IMPLICIT NONE 1510 1507 … … 1575 1572 surf_usm_v(2)%sasws, surf_usm_v(3)%sasws ) 1576 1573 1577 CALL user_actions( 'sa-tendency' ) 1574 ! CALL user_actions( 'sa-tendency' ) ToDo: find general solution for dependency between modules 1578 1575 1579 1576 ! … … 1667 1664 surf_usm_v 1668 1665 1669 USE user_actions_mod, &1670 ONLY: user_actions1671 1672 1666 IMPLICIT NONE 1673 1667 … … 1720 1714 surf_usm_v(2)%sasws, surf_usm_v(3)%sasws ) 1721 1715 1722 CALL user_actions( i, j, 'sa-tendency' ) 1716 ! CALL user_actions( i, j, 'sa-tendency' ) ToDo: find general solution for dependency between modules 1723 1717 1724 1718 ! -
palm/trunk/SOURCE/prognostic_equations.f90
r3655 r3684 409 409 ONLY: ls_advec, nudge 410 410 411 USE module_interface, & 412 ONLY: module_interface_actions 413 411 414 USE ocean_mod, & 412 415 ONLY: ocean_prognostic_equations, stokes_drift_terms, stokes_force, & … … 442 445 ONLY: tcm_prognostic_equations 443 446 444 USE user_actions_mod, &445 ONLY: user_actions446 447 447 USE wind_turbine_model_mod, & 448 448 ONLY: wtm_tendencies … … 694 694 IF ( wind_turbine ) CALL wtm_tendencies( i, j, 1 ) 695 695 696 CALL user_actions( i, j, 'u-tendency' )696 CALL module_interface_actions( i, j, 'u-tendency' ) 697 697 ! 698 698 !-- Prognostic equation for u-velocity component … … 777 777 IF ( wind_turbine ) CALL wtm_tendencies( i, j, 2 ) 778 778 779 CALL user_actions( i, j, 'v-tendency' )779 CALL module_interface_actions( i, j, 'v-tendency' ) 780 780 ! 781 781 !-- Prognostic equation for v-velocity component … … 856 856 IF ( wind_turbine ) CALL wtm_tendencies( i, j, 3 ) 857 857 858 CALL user_actions( i, j, 'w-tendency' )858 CALL module_interface_actions( i, j, 'w-tendency' ) 859 859 ! 860 860 !-- Prognostic equation for w-velocity component … … 944 944 945 945 946 CALL user_actions( i, j, 'pt-tendency' )946 CALL module_interface_actions( i, j, 'pt-tendency' ) 947 947 ! 948 948 !-- Prognostic equation for potential temperature … … 1029 1029 ENDIF 1030 1030 1031 CALL user_actions( i, j, 'q-tendency' )1031 CALL module_interface_actions( i, j, 'q-tendency' ) 1032 1032 1033 1033 ! … … 1350 1350 ENDIF 1351 1351 1352 CALL user_actions( i, j, 's-tendency' )1352 CALL module_interface_actions( i, j, 's-tendency' ) 1353 1353 1354 1354 ! … … 1615 1615 IF ( wind_turbine ) CALL wtm_tendencies( 1 ) 1616 1616 1617 CALL user_actions( 'u-tendency' )1617 CALL module_interface_actions( 'u-tendency' ) 1618 1618 1619 1619 ! … … 1722 1722 IF ( wind_turbine ) CALL wtm_tendencies( 2 ) 1723 1723 1724 CALL user_actions( 'v-tendency' )1724 CALL module_interface_actions( 'v-tendency' ) 1725 1725 1726 1726 ! … … 1825 1825 IF ( wind_turbine ) CALL wtm_tendencies( 3 ) 1826 1826 1827 CALL user_actions( 'w-tendency' )1827 CALL module_interface_actions( 'w-tendency' ) 1828 1828 1829 1829 ! … … 1957 1957 ENDIF 1958 1958 1959 CALL user_actions( 'pt-tendency' )1959 CALL module_interface_actions( 'pt-tendency' ) 1960 1960 1961 1961 ! … … 2081 2081 ENDIF 2082 2082 2083 CALL user_actions( 'q-tendency' )2083 CALL module_interface_actions( 'q-tendency' ) 2084 2084 2085 2085 ! … … 2556 2556 ENDIF 2557 2557 2558 CALL user_actions( 's-tendency' )2558 CALL module_interface_actions( 's-tendency' ) 2559 2559 2560 2560 ! -
palm/trunk/SOURCE/time_integration.f90
r3658 r3684 514 514 ONLY: flight_measurement 515 515 516 USE gust_mod, &517 ONLY: gust_actions, gust_module_enabled518 519 516 USE indices, & 520 517 ONLY: nbgp, nx, nxl, nxlg, nxr, nxrg, nyn, nyng, nys, nysg, nzb, nzt, & … … 537 534 USE lsf_nudging_mod, & 538 535 ONLY: calc_tnudge, ls_forcing_surf, ls_forcing_vert, nudge_ref 536 537 USE module_interface, & 538 ONLY: module_interface_actions 539 539 540 540 USE multi_agent_system_mod, & … … 616 616 ONLY: dt_stg_call, dt_stg_adjust, parametrize_inflow_turbulence, & 617 617 stg_adjust, stg_main, time_stg_adjust, time_stg_call, & 618 use_syn_turb_gen 619 620 USE user_actions_mod, & 621 ONLY: user_actions 618 use_syn_turb_gen 622 619 623 620 … … 836 833 837 834 ! 838 !-- Execute the gust module actions 839 IF ( gust_module_enabled ) THEN 840 CALL gust_actions( 'before_timestep' ) 841 ENDIF 842 843 ! 844 !-- Execute the user-defined actions 845 CALL user_actions( 'before_timestep' ) 835 !-- Execute alle other module actions routunes 836 CALL module_interface_actions( 'before_timestep' ) 846 837 847 838 ! … … 1531 1522 1532 1523 ! 1533 !-- Execute the gust module actions 1534 IF ( gust_module_enabled ) THEN 1535 CALL gust_actions( 'after_integration' ) 1536 ENDIF 1537 1538 ! 1539 !-- Execute user-defined actions 1540 CALL user_actions( 'after_integration' ) 1524 !-- Execute alle other module actions routunes 1525 CALL module_interface_actions( 'after_integration' ) 1541 1526 1542 1527 ! … … 1762 1747 1763 1748 ! 1764 !-- Execute the gust module actions 1765 IF ( gust_module_enabled ) THEN 1766 CALL gust_actions( 'after_timestep' ) 1767 ENDIF 1768 1769 ! 1770 !-- Execute user-defined actions 1771 CALL user_actions( 'after_timestep' ) 1749 !-- Execute alle other module actions routunes 1750 CALL module_interface_actions( 'after_timestep' ) 1772 1751 1773 1752 ! -
palm/trunk/SOURCE/turbulence_closure_mod.f90
r3646 r3684 233 233 ONLY: hom, hom_sum, statistic_regions 234 234 235 USE user_actions_mod, &236 ONLY: user_actions237 238 235 239 236 IMPLICIT NONE … … 2003 2000 IF ( plant_canopy ) CALL pcm_tendency( 6 ) 2004 2001 2005 CALL user_actions( 'e-tendency' ) 2002 ! CALL user_actions( 'e-tendency' ) ToDo: find general solution for circular dependency between modules 2006 2003 2007 2004 ! … … 2110 2107 ! IF ( plant_canopy ) CALL pcm_tendency( ? ) !> @todo not yet implemented 2111 2108 2112 ! CALL user_actions( 'diss-tendency' ) !> @todo not yet implemented2109 ! CALL user_actions( 'e-tendency' ) ToDo: find general solution for circular dependency between modules 2113 2110 2114 2111 ! … … 2222 2219 IF ( plant_canopy ) CALL pcm_tendency( i, j, 6 ) 2223 2220 2224 CALL user_actions( i, j, 'e-tendency' ) 2221 ! CALL user_actions( i, j, 'e-tendency' ) ToDo: find general solution for circular dependency between modules 2225 2222 2226 2223 ! … … 2284 2281 ! IF ( plant_canopy ) CALL pcm_tendency( i, j, ? ) !> @todo not yet implemented 2285 2282 2286 ! CALL user_actions( i, j, 'diss-tendency' ) !> @todo not yet implemented2283 ! CALL user_actions( i, j, 'diss-tendency' ) ToDo: find general solution for circular dependency between modules 2287 2284 2288 2285 ! -
palm/trunk/SOURCE/user_flight.f90
r3655 r3684 1 !> @file user_ actions.f901 !> @file user_flight.f90 2 2 !------------------------------------------------------------------------------! 3 3 ! This file is part of the PALM model system.
Note: See TracChangeset
for help on using the changeset viewer.