Skip to content

Commit 03d4464

Browse files
committed
cleaned up some comments
1 parent e12f7f5 commit 03d4464

File tree

6 files changed

+21
-533
lines changed

6 files changed

+21
-533
lines changed

Source/FieldSolver/FiniteDifferenceSolver/HybridPICModel/HybridPICModel.cpp

+2-11
Original file line numberDiff line numberDiff line change
@@ -169,20 +169,11 @@ void HybridPICModel::AllocateLevelMFs (
169169
#endif
170170
}
171171

172-
void HybridPICModel::InitQdsmcParticleContainer() {
173-
172+
void HybridPICModel::InitQdsmcParticleContainer()
173+
{
174174
auto& warpx = WarpX::GetInstance();
175175
qdsmc_hybrid_electron_pc = std::make_unique<QdsmcParticleContainer>(&warpx);
176-
177-
// comment AllocData if AddNParticles implementation is used
178-
//qdsmc_hybrid_electron_pc->AllocData(); // Allocate memory (reserveData() and resizeData())
179-
//amrex::Gpu::synchronize();
180-
// only level 0 for now
181176
qdsmc_hybrid_electron_pc->InitParticles(0);
182-
// Otherwise, loop over levels if AMR is used:
183-
// for (int lev = 0; lev <= warpx.finestLevel(); ++lev) {
184-
// m_qdsmc_pc->InitParticles(lev);
185-
// }
186177
}
187178

188179
void HybridPICModel::InitData ()

0 commit comments

Comments
 (0)