ComputationalRadiationPhysics / picongpu

Performance-Portable Particle-in-Cell Simulations for the Exascale Era :sparkles:
https://picongpu.readthedocs.io
Other
709 stars 218 forks source link

PMacc: refactor `FileSystem.hpp` #5094

Closed psychocoderHPC closed 2 months ago

psychocoderHPC commented 2 months ago

In the past, we thought that it was good to get access to all singletons from a single object, the Environment. This introduces many issues, e.g. cyclic includes. Additionally, we templated all objects with the simulation dimension.

This PR removes the dimension from the Filesystem object and allows the creation of the filesystem singleton from everywhere.