Changeset 3685 for palm/trunk/SOURCE/chemistry_model_mod.f90
- Timestamp:
- Jan 21, 2019 1:02:11 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/chemistry_model_mod.f90
r3664 r3685 27 27 ! ----------------- 28 28 ! $Id$ 29 ! Some interface calls moved to module_interface + cleanup 30 ! 31 ! 3664 2019-01-09 14:00:37Z forkel 29 32 ! Replaced misplaced location message by @todo 30 33 ! … … 454 457 END INTERFACE chem_header 455 458 459 INTERFACE chem_init_arrays 460 MODULE PROCEDURE chem_init_arrays 461 END INTERFACE chem_init_arrays 462 456 463 INTERFACE chem_init 457 464 MODULE PROCEDURE chem_init … … 564 571 chem_check_data_output_pr, chem_check_parameters, & 565 572 chem_data_output_2d, chem_data_output_3d, chem_data_output_mask, & 566 chem_define_netcdf_grid, chem_header, chem_init, 573 chem_define_netcdf_grid, chem_header, chem_init, chem_init_arrays, & 567 574 chem_init_profiles, chem_integrate, chem_parin, & 568 575 chem_prognostic_equations, chem_rrd_local, & … … 1182 1189 !-- temporary switch of this part of the check 1183 1190 ! RETURN !bK commented 1191 CALL chem_init_internal 1184 1192 !--------------------- 1185 1193 … … 1717 1725 ! Description: 1718 1726 ! ------------ 1727 !> Subroutine initializating chemistry_model_mod specific arrays 1728 !------------------------------------------------------------------------------! 1729 SUBROUTINE chem_init_arrays 1730 1731 !-- Please use this place to allocate required arrays 1732 1733 END SUBROUTINE chem_init_arrays 1734 1735 ! 1736 !------------------------------------------------------------------------------! 1737 ! 1738 ! Description: 1739 ! ------------ 1719 1740 !> Subroutine initializating chemistry_model_mod 1720 1741 !------------------------------------------------------------------------------! 1721 1742 SUBROUTINE chem_init 1743 1744 USE chem_emissions_mod, & 1745 ONLY: chem_emissions_init 1746 1747 IMPLICIT NONE 1748 1749 1750 IF ( do_emis ) CALL chem_emissions_init 1751 1752 1753 END SUBROUTINE chem_init 1754 1755 ! 1756 !------------------------------------------------------------------------------! 1757 ! 1758 ! Description: 1759 ! ------------ 1760 !> Subroutine initializating chemistry_model_mod 1761 !> internal workaround for chem_species dependency in chem_check_parameters 1762 !------------------------------------------------------------------------------! 1763 SUBROUTINE chem_init_internal 1722 1764 1723 1765 USE control_parameters, & … … 1727 1769 USE pegrid 1728 1770 1771 USE netcdf_data_input_mod, & 1772 ONLY: chem_emis, chem_emis_att, netcdf_data_input_chemistry_data 1773 1729 1774 IMPLICIT NONE 1730 1775 … … 1736 1781 INTEGER(iwp) :: lpr_lev !< running index for chem spcs profile level 1737 1782 1783 IF ( do_emis ) THEN 1784 CALL netcdf_data_input_chemistry_data( chem_emis_att, chem_emis ) 1785 ENDIF 1738 1786 ! 1739 1787 !-- Allocate memory for chemical species … … 1861 1909 ENDDO 1862 1910 1911 ! CALL photolysis_init ! probably also required for restart 1912 1863 1913 RETURN 1864 1914 1865 END SUBROUTINE chem_init 1915 END SUBROUTINE chem_init_internal 1866 1916 1867 1917 !
Note: See TracChangeset
for help on using the changeset viewer.