This paper formulates particle resampling as a projection through a finite-element function space. Particle weights are first deposited into the continuum basis; a pseudoinverse particle mass matrix then transfers that representation to a freely selected replacement particle set. Because new particle locations and counts are decoupled from the continuum mesh, both discretizations can in principle adapt independently. The projection exactly preserves every moment representable by the finite-element polynomial space, including kinetic energy when quadratic velocity elements are used, and leaves the continuum field solve unchanged. A matrix-free LSQR implementation in PETSc-PIC is tested on
- Expressed conservative resampling as finite-element deposition followed by pseudoinverse projection.
- Proved preservation of all moments represented by the chosen polynomial basis.
- Decoupled replacement-particle placement and count from the continuum mesh.
- Implemented a matrix-free PETSc-PIC solver with practical oversampling conditions.
- Quantified noise reduction, conservation, and long-time behavior in kinetic benchmarks.