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

Make energy optional #154

Merged
merged 1 commit into from
Nov 27, 2024
Merged

Make energy optional #154

merged 1 commit into from
Nov 27, 2024

Conversation

streeve
Copy link
Collaborator

@streeve streeve commented Nov 22, 2024

  • Separates output fields from those for primary updates
  • Makes energy output fully optional (on by default)
  • Also includes damage calculation (fused kernel with energy)
  • Greatly simplifies calls to Cabana output with variadic fields
  • Preparing for optional stress in Virial stress #137, blocked by this PR

Copy link
Collaborator

@abisner abisner left a comment

Choose a reason for hiding this comment

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

A few minor clarifications.

src/CabanaPD_Force.hpp Outdated Show resolved Hide resolved
src/CabanaPD_Particles.hpp Show resolved Hide resolved
unit_test/tstForce.hpp Outdated Show resolved Hide resolved
src/CabanaPD_Particles.hpp Show resolved Hide resolved
src/CabanaPD_Particles.hpp Outdated Show resolved Hide resolved
src/CabanaPD_Force.hpp Outdated Show resolved Hide resolved
src/CabanaPD_Types.hpp Outdated Show resolved Hide resolved
src/CabanaPD_Force.hpp Outdated Show resolved Hide resolved
@streeve streeve merged commit e5dd9e1 into ORNL:main Nov 27, 2024
14 checks passed
@streeve streeve deleted the optional_energy branch November 27, 2024 19:46
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