covid-sim icon indicating copy to clipboard operation
covid-sim copied to clipboard

Pull out separate functions for reading files in SetupModel.cpp

Open ZedThree opened this issue 4 years ago • 1 comments

Minimal changes besides pulling out the bits of the code for reading the data files into separate functions. Reduced scope of some local variables, added constexpr auto binary_density_file_magic_number as it's used in a couple of places.

I did also apply clang-format to the new functions using the config file in #397

ZedThree avatar Jun 24 '20 11:06 ZedThree

Rebased to resolve conflicts

ZedThree avatar Jun 25 '20 17:06 ZedThree