| 1344 | } |
| 1345 | |
| 1346 | void |
| 1347 | WarpX::SyncMassMatricesPC () |
| 1348 | { |
| 1349 | ABLASTR_PROFILE("WarpX::SyncMassMatricesPC()"); |
| 1350 | |
| 1351 | ablastr::fields::MultiLevelVectorField const& Sigma_fp = m_fields.get_mr_levels_alldirs("MassMatrices_PC", finest_level); |
| 1352 | |
| 1353 | for (int idim = 0; idim < 3; ++idim) |
| 1354 | { |
| 1355 | for (int lev = finest_level; lev >= 0; --lev) |
| 1356 | { |
| 1357 | auto const& period = Geom(lev).periodicity(); |
| 1358 | SumBoundaryJ(Sigma_fp, lev, idim, period); |
| 1359 | } |
| 1360 | } |
| 1361 | } |
| 1362 | |
| 1363 | void |
| 1364 | WarpX::SyncRho () { |
no test coverage detected