| 1557 | } // endDataRedistribution |
| 1558 | |
| 1559 | void |
| 1560 | IBMethod::initializeLevelData(Pointer<BasePatchHierarchy<NDIM>> hierarchy, |
| 1561 | int level_number, |
| 1562 | double init_data_time, |
| 1563 | bool can_be_refined, |
| 1564 | bool initial_time, |
| 1565 | Pointer<BasePatchLevel<NDIM>> old_level, |
| 1566 | bool allocate_data) |
| 1567 | { |
| 1568 | const int finest_hier_level = hierarchy->getFinestLevelNumber(); |
| 1569 | d_l_data_manager->setPatchHierarchy(hierarchy); |
| 1570 | d_l_data_manager->setPatchLevels(0, finest_hier_level); |
| 1571 | d_l_data_manager->initializeLevelData( |
| 1572 | hierarchy, level_number, init_data_time, can_be_refined, initial_time, old_level, allocate_data); |
| 1573 | if (initial_time && d_l_data_manager->levelContainsLagrangianData(level_number)) |
| 1574 | { |
| 1575 | d_l_data_manager->createLData("F", level_number, NDIM, /*manage_data*/ true); |
| 1576 | } |
| 1577 | return; |
| 1578 | } // initializeLevelData |
| 1579 | |
| 1580 | void |
| 1581 | IBMethod::resetHierarchyConfiguration(Pointer<BasePatchHierarchy<NDIM>> hierarchy, int coarsest_level, int finest_level) |
no test coverage detected