35 const vector<CellID>& cells,
36 Real (&dtMaxLocal)[3]) {
38 phiprof::Timer computeTimestepTimer {
"compute-vlasov-timestep"};
41 for (vector<CellID>::const_iterator cell_id = cells.begin(); cell_id != cells.end(); ++cell_id) {
50 const Real EPS = numeric_limits<Real>::min() * 1000;
62 Real threadMin = std::numeric_limits<Real>::max();
77 const Real dt_max_cell =
min({
dx / fabs(Vx), dy / fabs(Vy), dz / fabs(Vz)});
78 lthreadMin[0] =
min(dt_max_cell,lthreadMin[0]);
ObjectWrapper & getObjectWrapper()