-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UCLCHEM v3.4.0 #77
Merged
Merged
UCLCHEM v3.4.0 #77
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Upstream to develop
Changed some keywords to be more in line with numpy Added a check to raise errors when io / memory mode a mixed Fixed a bug caused by running old io and then in memory
Features/return array
* Update the Python requirement (#54) * Update the Python requirement The newest type hints make the code incompatible with Python <= 3.8, so adjust the requirement accordingly. * Also update the requirement in pyproject. * Add pytest as a requirement * Add UCLCHEM compiled with UMIST22 as its database * Add the option to comment UMIST * Change the reference files to be the ones generated with UMIST22 * Add UMIST22 as the default reaction database * Move umist12 to a legacy folder
This is a large rewrite that combines the return_array feature with postprocessing to allow for running arbitrary temperature,density (and column density) profiles. * Update Makefile * Update main.f90 * Update chemistry.f90 * Update wrap.f90 * Added CLI config files and docs * Added graceful out of bound checking for return arrays * Working example of postprocessing code with return array * Add postprocessing example script * Fix clean_array and self-consistent makerates - Fixed clean_array to work with the new more efficient time array allocation - update makerates to be self-consistent by writing the correct parameters to both f90 and py * Small fixes to smooth out all tests - Finally added HSIO as a species - made the option usecoldens explicit so as not to rely on present statements (they don't work nicely with f2py) - fixed small startabunds mode error - restored makefile to work and removed debug - added error code for running out of array points - function to retrieve species - fixed test * Restored pyproject to use git-versioning * Move get_f2py_signature to debug.py * Move analysis.py to use MAX_SPECIES * Comment out debug line in sputtering * Remove headers from example files * Moved ODE conservation to test suite * Changed the test to more useful in pytest * Fixed get_odes boundary check * Fixed path for test_run_stages * Add paths to loading as well * Add correct paths * Removed print statements we no longer need --------- Co-authored-by: fpriestley <[email protected]>
Fix/upstream build 2409
Update defaultparameters.f90
Fix/makerates constants
If reactions were added after the Network class was instanstiated before, they would get a wrong index and override the internal reaction dict in the wrong place. Now we take the max + 1 instead of the last element, which ensure this cannot happen again.
Features/branching ratio checks
* Remove H2 diss from UMIST and simplify the checks some * Added a source tag to reactions and improve duplication check * Add small chemistry network for better unit tests * Disable NH2+H2CO from our custom reactions in favour of UMIT22 * Add better check for duplicate important reactions
* Fix the timepoints for jshock * Add writing of radfield and dusttemp to file
* Move timepoints to the models API Users can now change the number of timepoints in realtime * Added new notebooks with timepoint support and small fixes * Update notebooks.yml * Update workflow and add precommit * Modernize the nbstripout * Precommit and format notebooks * Try another kernel name * Another attempt at getting the notebooks testing to work * Fix small things in notebooks * Update notebooks.yml
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We release UCLCHEM 3.4.0 with some additions to both user experience, technical improvements and new features:
notebooks/2a_modelling_objects_on_disk.py
notebooks
directory and were revised a bit.Small changes: