Skip to content

Commit

Permalink
Updated comment regarding static
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgrote committed Nov 4, 2023
1 parent 727cf06 commit cc0a2f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Particles/WarpXParticleContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ WarpXParticleContainer::WarpXParticleContainer (AmrCore* amr_core, int ispecies)
SetParticleSize();
ReadParameters();

// This needs to be here since ReadParameters is static but the m_E_external_particle and B are not
// Should they be declared static?
// Reading the external fields needs to be here since ReadParameters
// is static but the m_E_external_particle and B are not
const ParmParse pp_particles("particles");

// allocating and initializing default values of external fields for particles
Expand Down

0 comments on commit cc0a2f1

Please sign in to comment.