MCPcopy Create free account
hub / github.com/BLAST-WarpX/warpx / SyncMassMatricesPC

Method SyncMassMatricesPC

Source/Parallelization/WarpXComm.cpp:1346–1361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1344}
1345
1346void
1347WarpX::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
1363void
1364WarpX::SyncRho () {

Callers 1

Calls 1

get_mr_levels_alldirsMethod · 0.80

Tested by

no test coverage detected