SUBROUTINE user_init !------------------------------------------------------------------------------! ! Current revisions: ! ----------------- ! ! ! Former revisions: ! ----------------- ! $Id: user_init.f90 484 2010-02-05 07:36:54Z maronga $ ! ! 211 2008-11-11 04:46:24Z raasch ! Former file user_interface.f90 split into one file per subroutine ! ! Description: ! ------------ ! Execution of user-defined initializing actions !------------------------------------------------------------------------------! USE control_parameters USE indices USE netcdf_control USE pegrid USE user IMPLICIT NONE CHARACTER (LEN=20) :: field_char ! !-- Here the user-defined initializing actions follow: !-- Sample for user-defined output ! ALLOCATE( u2(nzb:nzt+1,nys-1:nyn+1,nxl-1:nxr+1) ) ! ALLOCATE( ustvst(nzb:nzt+1,nys-1:nyn+1,nxl-1:nxr+1) ); ustvst = 0.0 !-- Sample for user-defined time series !-- For each time series quantity you have to give a label and a unit, !-- which will be used for the NetCDF file. They must not contain more than !-- seven characters. The value of dots_num has to be increased by the !-- number of new time series quantities. Its old value has to be store in !-- dots_num_palm. See routine user_statistics on how to output calculate !-- and output these quantities. ! dots_label(dots_num+1) = 'abs_umx' ! dots_unit(dots_num+1) = 'm/s' ! dots_label(dots_num+2) = 'abs_vmx' ! dots_unit(dots_num+2) = 'm/s' ! ! dots_num_palm = dots_num ! dots_num = dots_num + 2 END SUBROUTINE user_init