Now, the solver needs to be an input parameter of the case, to select if
it is for charged or neutral particles.
Resolution of Poisson equation with Dirichlet boundary conditions is
possible. The source vector is the charge density. This resolution is
done in two steps to save computational time:
1. When reading the mesh, the PLU factorization of the K matrix is
computed.
2. In each iteration, the system K*u = f is solved, in which f is the
source vector (charge density) and u is the solution (potential) in
each node.
No case has been added to the repository. This will be done in next
commit.
The 'non-analog' scheme has been commented. It still needs to split
the particle to avoid 'overweight' particles.
- Injection is now performed in parallalel (an IF statement could be
required to avoid overhead when number of injected particles is
below a margin).
- Added the possibility for multiple injections.
assumed to be inside the domain but without cell assigned.
Now, particles are assumed to be outside the domain (n_in = .FALSE.)
until findCell assign them a cell.