File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1009,7 +1009,7 @@ function get_random_perturbation_value() result(pert_val)
10091009 pert_val = 2.0_CUSTOM_REAL * rand_val - 1.0_CUSTOM_REAL
10101010
10111011 ! scale to target strength
1012- pert_val = pert_val * SCATTERING_STRENGTH
1012+ pert_val = pert_val * real ( SCATTERING_STRENGTH,kind = CUSTOM_REAL)
10131013
10141014 end function get_random_perturbation_value
10151015
@@ -1087,9 +1087,9 @@ subroutine plot_grid_data()
10871087 endif
10881088
10891089 ! grid point position [-L/2,L/2]
1090- total_dat_xyz(1 ,np) = grid_origin_x + (i-1 ) * cell_size
1091- total_dat_xyz(2 ,np) = grid_origin_y + (j-1 ) * cell_size
1092- total_dat_xyz(3 ,np) = grid_origin_z + (k-1 ) * cell_size
1090+ total_dat_xyz(1 ,np) = real ( grid_origin_x + (i-1 ) * cell_size,kind = CUSTOM_REAL)
1091+ total_dat_xyz(2 ,np) = real ( grid_origin_y + (j-1 ) * cell_size,kind = CUSTOM_REAL)
1092+ total_dat_xyz(3 ,np) = real ( grid_origin_z + (k-1 ) * cell_size,kind = CUSTOM_REAL)
10931093 enddo
10941094 enddo
10951095 enddo
You can’t perform that action at this time.
0 commit comments