This PR aims to solve #66 by creating a class that can be used to manipulate cosmological parameters.
!! Warning !! This introduces a breaking change in the FlowPM API, at the level of the lpt_init and nbody functions, which now take a cosmology object as their first argument. The reason for this is that otherwise, if the cosmology is left implicit in some places, it is very possible that people will end up with different cosmologies in different places of their code.
This PR aims to solve #66 by creating a class that can be used to manipulate cosmological parameters.
!! Warning !! This introduces a breaking change in the FlowPM API, at the level of the lpt_init and nbody functions, which now take a cosmology object as their first argument. The reason for this is that otherwise, if the cosmology is left implicit in some places, it is very possible that people will end up with different cosmologies in different places of their code.