aronnax
aronnax copied to clipboard
Clean up the implementation of the new Aronnax driver and environs
There are several things we can do once #101 is merged that will make the resulting code base simpler. We should choose whether and when to.
- [ ] Perhaps replace the
driver.data_typesdictionary with a dictionary incore, directly holding the generator functions themselves, without indirecting through a string and a chain ofifstatements for interpreting it. - [ ] Perhaps move
core.fortran_fileto theutilsmodule. - [ ] Perhaps simplify the Fortran core, the
parameters.infile, and the inside of the driver by hard-coding a naming convention for the raw input files, since they are now generated anyway.- Con: Anyone who wishes to isolate the Fortran core and wrap it differently will have a less flexible object to work with.