Class Name : ReciprocalOfFunctionOfParticleE
Project ref : SPIS project
File name : ReciprocalOfFunctionOfParticleE.java
File type : class
Copyright : ONERA, 2 Av.
Constructor with the particle number attenuation depending on particle kinematic parameters:
it is passed as an extra function, numberDamping (the parameter 0, the number attenuation parameter
not depending on particle kinematics, is unused).
Computes the residual of the Newton algorithm
INPUT = nodeNb, nonzeroMat, pointMat, flagDir, diagMass,
matMass, diagPoisson, matPoisson, elecTemp,elecDens, pot, bNewton
- nonzeroMat[nodeNb+1] = index of non null matrix element
- pointMat[ndimMat] = index of non null matrix element
- flagDir[nodeNb] = Dirichlet boundary conditions flag
- diagMass [nodeNb] = diagonal of the Mass matrix
- matMass[ndimMat] = Mass matrix (without the diagonal)
- diagPoisson [nodeNb] = diagonal of the poisson matrix
- matPoisson[ndimMat] = poisson matrix (without the diagonal)
- elecTemp = Electronic temperature (eV)
- elecDens = Electronic density (M-3)
- elecTemp2 = Electronic temperature 2nd population [eV]
- elecDens2 = Electronic density 2nd population [m-3]
- pot [nodeNb] = potential
- bNewton[nodeNb] = left hand side of Newton
OUTPUT = rloc1,rloc2,secm
- rloc1[nodeNb] = local vector
- rloc2[nodeNb] = local vector
- secm[nodeNb] = Newton residual
Versions and anomalies correction :
Version numberAuthor (name, e-mail) Corrections/Modifications
0.1 F.
default random generator (if you only
use this one all over the code, you can
re-run the same simulation by giving
it a seed (interesting for debugging)
=> recommended!