Skip to content

Commit 9b9ece1

Browse files
committed
EAMxx: fix sync of inputs/outputs in cld fraction when using python
1 parent bafb7a0 commit 9b9ece1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

components/eamxx/src/physics/cld_fraction/eamxx_cld_fraction_process_interface.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ void CldFraction::run_impl (const double /* dt */)
113113

114114
// Sync input to host
115115
liq_cld_frac.sync_to_host();
116+
qi.sync_to_host();
116117

117118
double ice_threshold = m_params.get<double>("ice_cloud_threshold");
118119
double ice_4out_threshold = m_params.get<double>("ice_cloud_for_analysis_threshold");
@@ -127,8 +128,6 @@ void CldFraction::run_impl (const double /* dt */)
127128
}
128129

129130
// Sync outputs to dev
130-
qi.sync_to_dev();
131-
liq_cld_frac.sync_to_dev();
132131
ice_cld_frac.sync_to_dev();
133132
tot_cld_frac.sync_to_dev();
134133
ice_cld_frac_4out.sync_to_dev();

0 commit comments

Comments
 (0)