Skip to content

Conversation

@JStroo2000
Copy link

Adds the chemical evolution code UCLchem as a community code. All the relevant changes are in the community/uclchem folder.

@JStroo2000 JStroo2000 requested a review from a team as a code owner September 11, 2024 12:12
@stale
Copy link

stale bot commented Dec 30, 2024

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.

@stale stale bot added the stale Issues that have been around for a while without updates label Dec 30, 2024
@LourensVeen LourensVeen added keep-open and removed stale Issues that have been around for a while without updates labels Dec 30, 2024
Copy link
Member

@rieder rieder left a 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.chem module that the interfaces for UCLChem and Krome inherit from

Copy link
Member

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

Copy link
Member

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

Copy link
Member

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

Copy link
Member

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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs cleanup / more flexibility

Copy link
Member

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):
Copy link
Member

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):
Copy link
Member

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.

Copy link
Member

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)

Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants