@@ -31,26 +31,32 @@ module m_ib_patches
3131
3232 real (wp) :: x_centroid, y_centroid, z_centroid
3333 real (wp) :: length_x, length_y, length_z
34+ $:GPU_DECLARE(create= ' [x_centroid, y_centroid, z_centroid]' )
35+ $:GPU_DECLARE(create= ' [length_x, length_y, length_z]' )
3436
3537 integer :: smooth_patch_id
36- real (wp) :: smooth_coeff !<
38+ real (wp) :: smooth_coeff
39+ $:GPU_DECLARE(create= ' [smooth_patch_id, smooth_coeff]' )
3740 !! These variables are analogous in both meaning and use to the similarly
3841 !! named components in the ic_patch_parameters type (see m_derived_types.f90
3942 !! for additional details). They are employed as a means to more concisely
4043 !! perform the actions necessary to lay out a particular patch on the grid.
4144
42- real (wp) :: eta !<
45+ real (wp) :: eta
46+ $:GPU_DECLARE(create= ' [eta]' )
4347 !! In the case that smoothing of patch boundaries is enabled and the boundary
4448 !! between two adjacent patches is to be smeared out , this variable' s purpose
4549 !! is to act as a pseudo volume fraction to indicate the contribution of each
4650 !! patch toward the composition of a cell' s fluid state.
4751
4852 real (wp) :: cart_x, cart_y, cart_z
4953 real (wp) :: sph_phi !<
54+ $:GPU_DECLARE(create= ' [cart_x, cart_y, cart_z, sph_phi]' )
5055 !! Variables to be used to hold cell locations in Cartesian coordinates if
5156 !! 3D simulation is using cylindrical coordinates
5257
53- type(bounds_info) :: x_boundary, y_boundary, z_boundary !<
58+ type(bounds_info) :: x_boundary, y_boundary, z_boundary
59+ $:GPU_DECLARE(create= ' [x_boundary, y_boundary, z_boundary]' )
5460 !! These variables combine the centroid and length parameters associated with
5561 !! a particular patch to yield the locations of the patch boundaries in the
5662 !! x- , y- and z- coordinate directions. They are used as a means to concisely
0 commit comments