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

Radially falling floor EoS call #5556

Merged

Conversation

pajkosmi
Copy link
Contributor

Proposed changes

EoS call after radially falling floor is implemeneted. Completes issue #5520.

Upgrade instructions

Code review checklist

  • The code is documented and the documentation renders correctly. Run
    make doc to generate the documentation locally into BUILD_DIR/docs/html.
    Then open index.html.
  • The code follows the stylistic and code quality guidelines listed in the
    code review guide.
  • The PR lists upgrade instructions and is labeled bugfix or
    new feature if appropriate.

Further comments

Copy link
Member

@nilsdeppe nilsdeppe left a comment

Choose a reason for hiding this comment

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

LGTM, one question, you can squash immediately

specific_internal_energy->get()[i] =
get(equation_of_state.specific_internal_energy_from_density(
Scalar<double>{density->get()[i]}));

Copy link
Member

Choose a reason for hiding this comment

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

Should this also recompute T? Since that's what we reconstruct that needs to be consistent

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated. I thought temperature defaults to 0 for 1D EoS, but I have included it.

@pajkosmi
Copy link
Contributor Author

Updated and squashed

@nilsdeppe nilsdeppe merged commit 599f53d into sxs-collaboration:develop Oct 12, 2023
22 checks passed
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.

2 participants