I am using a list for particles.
List<Particle> particles;
Normally i place this list in my Simulation class. Which calculates position, velocity and other properties of particles.
A few other classes need this particle data for output and post processing.
is it OK to create a static class,
static class Particles
{
static List<Particles> plist;
}
to access particle data from other classes?