aboutsummaryrefslogtreecommitdiff
path: root/Python/ParticleProb.cpp
blob: 96d0c2d44eefff482a89973b39b8209d6955cab4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

//
// Each problem must have its own version of PhysicalParticleContainer::InitData()
// to initialize the particle data.  It must also initialize charge and mass.
//

#include <ParticleContainer.H>
#include <WarpXConst.H>

void
PhysicalParticleContainer::InitData()
{
    charge = -PhysConst::q_e;
    mass = PhysConst::m_e;
}