Changeset 1429 for palm/trunk/SOURCE/init_3d_model.f90
 Timestamp:
 Jul 15, 2014 12:53:45 PM (10 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

palm/trunk/SOURCE/init_3d_model.f90
r1412 r1429 20 20 ! Current revisions: 21 21 !  22 ! 22 ! Ensemble run capability added to parallel random number generator 23 23 ! 24 24 ! Former revisions: … … 194 194 USE indices 195 195 196 USE lpm_init_mod, 196 USE lpm_init_mod, & 197 197 ONLY: lpm_init 198 198 … … 948 948 ! Initialize the random number generators (from numerical recipes) 949 949 CALL random_function_ini 950 950 951 IF ( random_generator == 'randomparallel' ) THEN 951 CALL random_function_ini 952 ! asigning an ID to every vertical gridpoint column 952 ! Asigning an ID to every vertical gridpoint column 953 ! dependig on the ensemble run number. 954 random_dummy=1 953 955 DO j=0,ny 954 956 DO i=0,nx 955 id_random_array(j,i) = 1000000*i + j 957 id_random_array(j,i) = random_dummy + 1E6 * ( ensemble_member_nr  1000 ) 958 random_dummy = random_dummy + 1 956 959 END DO 957 960 ENDDO 958 ! executing the initial ran_parallel 961 ! Initializing with random_seed_parallel for every vertical 962 ! gridpoint column. 963 random_dummy=0 959 964 DO j = nysg, nyng 960 965 DO i = nxlg, nxrg
Note: See TracChangeset
for help on using the changeset viewer.