38 INTEGER :: I, J, K, L, IJK
39 INTEGER :: I1, I2, J1, J2, K1, K2, II, JJ, KK, IJK2
40 INTEGER :: lcurpar, lpip_all(0:
numpes-1), lglobal_id
41 INTEGER :: CELL_ID, I_CELL, J_CELL, K_CELL, COUNT, NF
42 INTEGER :: IMINUS1, IPLUS1, JMINUS1, JPLUS1, KMINUS1, KPLUS1
66 k2 = merge(k, k+1,
no_k)
73 ijk2 = funijk_map_c(ii, jj, kk)
87 IF(particles /= 0)
THEN 88 IF(gener_part_config)
THEN 100 lglobal_id = sum(lpip_all(0:
mype-1))
103 lglobal_id = lglobal_id + 1
104 iglobal_id(lcurpar) = lglobal_id
105 imax_global_id = iglobal_id(pip)
110 omega_new(:,:) =
zero 113 IF(particle_orientation)
THEN 114 orientation(1,:) = init_orientation(1)
115 orientation(2,:) = init_orientation(2)
116 orientation(3,:) = init_orientation(3)
121 omega_old(:,:) =
zero 122 des_pos_old(:,:) = des_pos_new(:,:)
123 des_vel_old(:,:) = des_vel_new(:,:)
130 imax_global_id = maxval(iglobal_id(1:pip))
135 omega_old(:,:) = omega_new(:,:)
136 des_pos_old(:,:) = des_pos_new(:,:)
137 des_vel_old(:,:) = des_vel_new(:,:)
144 1100
FORMAT(
'Error 1100: Unsupported RUN_TYPE for DES.')
148 IF(
run_type ==
'RESTART_2') vtp_findex=0
154 IF(is_nonexistent(l)) cycle
155 IF(is_ghost(l) .OR. is_entering_ghost(l) .OR. is_exiting_ghost(l
187 IF(
run_type /=
'RESTART_1' .AND. print_des_data)
THEN subroutine read_par_input
subroutine comp_mean_fields
double precision, dimension(:), allocatable vol_surr
subroutine write_des_data
subroutine init_settling_dem
subroutine desgrid_pic(plocate)
subroutine set_phase_index
subroutine des_par_exchange()
subroutine set_filter_des
subroutine add_facet(IJK, FACET_ID)
subroutine calc_interp_weights
subroutine init_err_msg(CALLER)
logical, dimension(:,:,:), allocatable dead_cell_at
character(len=16) run_type
subroutine particles_in_cell
double precision, dimension(:,:), allocatable ro_s
subroutine init_particles_in_cell
character(len=line_length), dimension(line_count) err_msg
double precision, dimension(dim_m) ro_s0
subroutine generate_particle_config
double precision, parameter pi
double precision, dimension(:), allocatable vol
double precision, parameter zero
subroutine make_arrays_des
subroutine flush_err_msg(DEBUG, HEADER, FOOTER, ABORT, LOG, CALL_TREE)