From cc0a2f1a53c86a60d3b448e5abdb155d9b380cbc Mon Sep 17 00:00:00 2001 From: Dave Grote Date: Fri, 3 Nov 2023 18:57:00 -0700 Subject: [PATCH] Updated comment regarding static --- Source/Particles/WarpXParticleContainer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Particles/WarpXParticleContainer.cpp b/Source/Particles/WarpXParticleContainer.cpp index 924628a8bcf..6e02e71fd23 100644 --- a/Source/Particles/WarpXParticleContainer.cpp +++ b/Source/Particles/WarpXParticleContainer.cpp @@ -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