Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* setting up a cmake structure for c++ * python box model iniital classes * added method for generating species config * added relative tolerance to spec config * added method to generate reaction config * added generateConfig documentation and todo solve function * added todo readfromjson function * added params to reaction * updated Reaction and getReactionConfig to handle A B D E and Ea paramaters * can mostly parse json file from UI * implemented skeleton logic for solver * extracted concentrations and reaction rates from evolving conditions * added initial reaction rates, need to verify * made conversion functions to shorten code * tested parsing with example that had every option * added other reaction types and refactored some code * fixed bug in species list * fixed bug in reaction list * generateReactionConfig accounts for the different types of reactions * added funciton to create micm solver based on config * added funciton to create micm solver based on config * working towards box model test * adds function to read config json and tests basic reaction * fixed solve to inc by seconds * convert time steps to seconds * updated solve with new time units * Changed readFromJson to readFromUIJosn * convert_pressure converts to Pa now * outputs results to file and creates file for initial test * reads species name from config * sets up test config and get analytical concentrations * aserts concentrations * fixed comment typo * fixed output outputted based on output time step * changed time in output to output step time * added hr to time conversion: * removed print stat * removed print statement * config files generatable * initial reaction rates added to generate config * reads species from json from camp_data * box model pr * handle cases without pressure and temperature in evolving conditions for UI parsing * able to recreate test config in UI, parse it, and use in python_test_1 * reads reaction list from config json * restructured functions * fixed missing reaction list param in from_config_JSON * can generate evolving_conditions.csv for config * implemented species and rate ordering in solve * moved where ordered arrays are computed * updated headers to match ordered array * fixed evolving conditions not setting attributes correctly * fixed unit issue with pressure for setting up evolving conditions * added reaction type prefixes in order_reaction_ratesz * changed evolving conditions to update in a while loop in case chem time step is greater than time between evolving conditions * updated python test 3 * creates test for chapman in python_test_3.py * renamed tests to be more descriptive * added test file for wall-loss * include base values for reactions, change C back to Ea * add species not present in initial conditions for order_species_concentration * removed unused files * removed unused files * created .whl for music_box package * make sure time in evolving conditions is float * check reaction names correctly for evolving conditions config, ensure floats for rate constants * added function to read from UI json string * removing fortran things, using musica python module, creating installation suitable for pypi * converting tests to pytest * correcting setup python? * adding a space * strategy * installing music_box in CI * newer checkout * pypi publish --------- Co-authored-by: Kyle Shores <[email protected]> Co-authored-by: Evan De la Garza <[email protected]> Co-authored-by: Evan De la Garza <[email protected]>
- Loading branch information