@@ -19,10 +19,10 @@ module actual_network
1919 integer , parameter :: ife52 = 12
2020 integer , parameter :: ini56 = 13
2121
22- real (rt) , allocatable :: bion(:), mion(:), wion(:)
22+ real (rt) , allocatable :: bion(:), mion(:)
2323
2424#ifdef AMREX_USE_CUDA
25- attributes(managed) :: bion, mion, wion
25+ attributes(managed) :: bion, mion
2626#endif
2727
2828 character (len= 32 ), parameter :: network_name = " aprox13"
@@ -44,7 +44,7 @@ module actual_network
4444
4545 real (rt) , parameter :: enuc_conv2 = - avo* c_light* c_light
4646
47- ! $acc declare create(aion, zion, nion, bion, mion, wion )
47+ ! $acc declare create(aion, zion, nion, bion, mion)
4848
4949 ! Rates data
5050
@@ -140,7 +140,6 @@ subroutine actual_network_init
140140 call network_properties_init()
141141 allocate (bion(nspec))
142142 allocate (mion(nspec))
143- allocate (wion(nspec))
144143
145144 ! Set the binding energy of the element (MeV)
146145 bion(ihe4) = 28.29603e0_rt
@@ -160,13 +159,7 @@ subroutine actual_network_init
160159 ! Set the mass
161160 mion(:) = nion(:) * mn + zion(:) * (mp + me) - bion(:) * mev2gr
162161
163- ! Molar mass
164- wion(:) = avo * mion(:)
165-
166- ! Common approximation
167- wion(:) = aion(:)
168-
169- ! $acc update device(aion, zion, nion, bion, mion, wion)
162+ ! $acc update device(aion, zion, nion, bion, mion)
170163
171164 ratenames(ir3a) = ' r3a '
172165 ratenames(irg3a) = ' rg3a '
@@ -278,9 +271,6 @@ subroutine actual_network_finalize
278271 if (allocated (mion)) then
279272 deallocate (mion)
280273 endif
281- if (allocated (wion)) then
282- deallocate (wion)
283- endif
284274
285275 end subroutine actual_network_finalize
286276
0 commit comments