blob: 71a2118c9f0c662dc44dd7e995e6c9b75731d512 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//
// 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>
using namespace amrex;
void
PhysicalParticleContainer::InitData()
{
charge = -PhysConst::q_e;
mass = PhysConst::m_e;
}
|