-
Notifications
You must be signed in to change notification settings - Fork 109
UCLchem interface #1070
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
base: main
Are you sure you want to change the base?
UCLchem interface #1070
Conversation
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 28 days if no further activity occurs. Thank you for your contributions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs some work:
- remove unintended files/changes
- update to new build system
- download a specific version of UCLChem rather than adding a version to the AMUSE repository
- unittest for the uclchem interface
- preferably: an
amuse.community.interface.chemmodule that the interfaces for UCLChem and Krome inherit from
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should not be part of this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should not be part of this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should not be part of this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Obsolete after recent update to AMUSE installation method
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs cleanup / more flexibility
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs updating to new build system
| .. [#] ADS:2017AJ....154...38H (Holdship, J. ; Viti, S, ; Jiménez-Serra, I.; Makrymallis, A. ; Priestley, F. , 2017, AJ) | ||
| """ | ||
|
|
||
| def __init__(self, mode="cpu", **options): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there another mode than "cpu"?
| return n_out, param_dict, out_species | ||
|
|
||
|
|
||
| class UCLchem(CommonCode): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
now that there are two chemistry codes, we should try to make amuse.community.interface.chem.ChemistryInterface.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
relic file
| cm = named("centimeter", "cm", 0.01 * m) | ||
| erg = named("erg", "erg", 1e-7 * J) | ||
| barye = named("barye", "Ba", 0.1 * Pa) | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reordering should not be done in this PR
Adds the chemical evolution code UCLchem as a community code. All the relevant changes are in the community/uclchem folder.