Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* aero rep single particle layer .c and .F90 files * comments to .F90 code * adding layers to aero_rep_single_particle_layers.F90 * aero_rep_single_particle_layers.F90 without comments * fix to indexing * C preprocessor variables modified * init aero rep data for layers function * unique names - need to check if aero_phases is correct * added LAYER_STATE_ID_ variable * add and allocate aero_phase array * creating aero_layer_phase_set array * ordered layers subroutine * edits to ordered layers subroutine * added LAYER_STATE_ID_UNORDERED_ loop to main code * add second loop with phase names unordered * add ordered phase function * aero_phase array constructed * added layer state id subroutine * modified ordered functions based on independednt test and edits to notation * modified functions: removed any variables associated with this * initialized missing variables and added functions to procedure list * edited loop to setup aero_phase array to reflect changed made to aero_layer_phase_set * fixed layer_state_id function and independently tested * error message to .F90 code, layer and phase tests added to test.F90 * minor .F90 code fixes, tests added and model sucessfully compiled locally! * some changes to pre-processor definitions * added variables to aero_rep_data_t * added sandwich test to check layer and phase ordering * modified unique_names funtion to reflect layers * modified unique names function * fix to unique names function * .json file and layers test .F90 to repo * add single particle layered to build and tests * rough in first test of layer functions * failed unit testing and json file updates for layers * passed ordered layer test. reminder - ordered layer function should be modified when initialize function uncommented * ordered layers test with unit test done * ordered layer tests with manual input (not from json) * small change to layer state id test * attempting to compile initialize function * trying to resolve errors in initialize function * fixed string in ordered phase test * fixing some compiling errors * fix to initialize * draft layer data macros * clean up aero rep layers * draft unique names function * add unique names test for layers * finish cpp macro tests * modified and in process of testing num_phase_instances function * trying to fix num_phase_instances test * passed num_phase_instances test * resolved matt's comments * Update src/aero_reps/aero_rep_single_particle_layers.F90 Co-authored-by: Matt Dawson <[email protected]> * attempting to merge aero rep single particle with layers * renamed aero_rep_single_particle_layers to aero_rep_single_particle and added layers to tests. all tests pass except rxns for HL and SIMPOL because they rely on the c functions. next step is to edit c functions * in the likely event things break * edited test files to run single particle test with one layer * aero_rep_single_paricle F90 tests pass, c still fail - bad jacobian element * modified remaining tests for layers. need to check aero_phase_idx variable * troubleshooting bad jacobian element error for radius, molecular weight and aero phase mass functions * printing variables to figure out int_data and float_data stuff * update to c pre-processor variables LAYER_PHASE_START_ and LAYER_PHASE_END_, corrects output for num_jac_elem c function * fixed jacobian errors, one layer model working * testing with 3 layers, still working on c tests * tests with multiple layers working? seemed too easy so im suspicious * testing with multiple layers continued * cleaning up files * single particle tests still not passing * radius test passes, need to finish editing other tests * num conc c test passes, mass and MW failing * all tests pass for layers * Update test/unit_aero_rep_data/test_aero_rep_single_particle.F90 Co-authored-by: Jeffrey Curtis <[email protected]> * Update src/aero_reps/aero_rep_single_particle.F90 Co-authored-by: Jeffrey Curtis <[email protected]> * remove print statements * branch for adding layers to SIMPOL and HL rxns * fix to print statements and some rxn development * surface layer boolean array * make boolean array and tested * trying to get modal distribution to compile - it wont * compiles but does not pass tests * added at surface flag, all tests pass * coding structure fix * some comments resolved on PR * review comments * PR requested changes * PR conflicts resolved + new reactions with layers * Jeff's PR comments --------- Co-authored-by: Matt Dawson <[email protected]> Co-authored-by: Matt Dawson <[email protected]> Co-authored-by: Jeffrey Curtis <[email protected]>
- Loading branch information