I see.. so how would I define a user defined scaler and assign the particle charge property
// i =100 as i am injecting 100 particles
if (i < 10)
{PP_USER_REAL(p,i) = 1*1.6E-19;}
if (i<20)
{PP_USER_REAL(p,i) = 3*1.6E-19;}
Is there any example in the documentation that talks about how to define user-defined scalar? Because whenever i find a user defined scalar i cant get anything.. Is it termed differently in the documentation?