MCPcopy Create free account
hub / github.com/IBAMR/IBAMR / synchronizeData

Method synchronizeData

ibtk/src/utilities/EdgeDataSynchronization.cpp:287–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285} // deallocateOperatorState
286
287void
288EdgeDataSynchronization::synchronizeData(const double fill_time)
289{
290#if !defined(NDEBUG)
291 TBOX_ASSERT(d_is_initialized);
292#endif
293 for (int ln = d_finest_ln; ln >= d_coarsest_ln; --ln)
294 {
295 Pointer<PatchLevel<NDIM>> level = d_hierarchy->getPatchLevel(ln);
296
297 // Synchronize data on the current level.
298 for (unsigned int axis = 0; axis < NDIM; ++axis)
299 {
300 d_refine_scheds[axis][ln]->fillData(fill_time);
301 }
302
303 // When appropriate, coarsen data from the current level to the next
304 // coarser level.
305 if (ln > d_coarsest_ln && d_coarsen_scheds[ln]) d_coarsen_scheds[ln]->coarsenData();
306 }
307 return;
308} // synchronizeData
309
310/////////////////////////////// PROTECTED ////////////////////////////////////
311

Callers 13

applyProjectionMethod · 0.45
setupSolverVectorsMethod · 0.45
regridProjectionMethod · 0.45
setupSolverVectorsMethod · 0.45
resetSolverVectorsMethod · 0.45
regridProjectionMethod · 0.45
setupSolverVectorsMethod · 0.45

Calls 2

getPatchLevelMethod · 0.80
fillDataMethod · 0.80

Tested by

no test coverage detected