PdfFieldInitializer for Non-Uniform Grids
The current PdfFieldInitializer does not work with mesh refinement as the cell calculation is not adapted to variations in the cell size.
Also, it works with the global cell indices (int
's) whereas the actual values are associated with the cell centers (real_t
's). If the init function is supposed to be some analytical profile, we have a mismatch due to the offset of \frac{1}{2} dx