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

use background field to calculate adiabatic profile #5768

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

RanpengLi
Copy link
Contributor

This pull request updates the result of an existing test. When having multiple components, we use the background field to calculate the adiabatic profile.

Copy link
Member

@gassmoeller gassmoeller left a comment

Choose a reason for hiding this comment

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

Just a few typos. Ready otherwise.
Just for reference this is a fix for #5622.

@@ -74,19 +74,13 @@ namespace aspect
in.requested_properties = MaterialModel::MaterialProperties::density | MaterialModel::MaterialProperties::additional_outputs;
in.velocity[0] = Tensor <1,dim> ();
// The entropy along an adiabat is constant (equals the surface entropy)
// TODO : need to make it work for more than one entropy field
// When there are more than one entropy field, we use the background field to compute adiabat profile
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// When there are more than one entropy field, we use the background field to compute adiabat profile
// When there is more than one entropy field, we use the background field to compute the adiabatic profile

@RanpengLi RanpengLi force-pushed the update-entropy-read-multi-test branch from f9b090e to a81535d Compare June 4, 2024 23:22
@RanpengLi
Copy link
Contributor Author

Thank you! I have fix them accordingly.

@tjhei
Copy link
Member

tjhei commented Jun 5, 2024

/rebuild

@tjhei tjhei merged commit 375da66 into geodynamics:main Jun 5, 2024
8 checks passed
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