Skip to content
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

Particle updating #6

Merged
merged 8 commits into from
Jul 27, 2022
Merged

Particle updating #6

merged 8 commits into from
Jul 27, 2022

Conversation

jagoosw
Copy link
Collaborator

@jagoosw jagoosw commented Jul 26, 2022

Fairly happy that I've now got it working so you can make particles which track fields, have properties which can depend on those fields, and then act as a source or sink to the tracer fields.

The testing suite is hopefully convincing that the source/sink function correctly conserves the tracer concentration now, and that the PAR is being correctly calculated (I have discussed with @syou83syou83 that we will change to a different attenuation implementation because the factor of r_pig in the paper LOBSTER is possibly not meant to be there).

jagoosw added 8 commits July 22, 2022 16:21
Refactored into better library structured as discussed. See the README.md for a better description of the library.

Also added method to derive PAR from integrating chlorophyll (I also think there may have been a missing factor of 1/r_pig in the original version).
…ource/sink particles (kelp example may not work yet)
@jagoosw jagoosw merged commit bf6c54f into main Jul 27, 2022
@jagoosw jagoosw deleted the kelp branch July 27, 2022 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant