We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9e6cc2 commit 2590f22Copy full SHA for 2590f22
components/eam/src/physics/crm/pam/pam_driver.cpp
@@ -73,7 +73,7 @@ inline int pam_driver_set_subcycle_timestep( pam::PamCoupler &coupler, real crm_
73
cfl_max(k,n) = max(cfl_u,cfl_w);
74
});
75
// calculate final CFL across ensemble
76
- real cfl_loc = pmax(cfl_max.data());
+ real cfl_loc = yakl::intrinsics::maxval(cfl_max);
77
cfl = max(cfl,cfl_loc);
78
// update number of subcycles and time step
79
num_subcycle = max(num_subcycle,max(1,static_cast<int>(ceil(cfl/0.7))));
0 commit comments