the-nuclear-confectionery / CCAKE

Conserved ChArges HydrodynamiK Evolution
https://the-nuclear-confectionery.github.io/ccake-site/
Other
2 stars 1 forks source link

Store system timestep only in settings (not in system state) #24

Open astrophysicist87 opened 4 months ago

astrophysicist87 commented 4 months ago

The public member dt of the SystemState class should be removed since it is redundant with the same quantity in the Settings class. All uses of system.dt or systemPtr->dt should be replaced with corresponding references to the Settings quantity. This will eliminate the risk of a user accidentally using the wrong value.