Multi-dimensional particle codes for modelling in low-temperature and high-temperature plasmas in the presence of magnetic field