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

Allow observing only some blocks in ObserveFields #6305

Merged
merged 1 commit into from
Sep 28, 2024

Conversation

nilsdeppe
Copy link
Member

Proposed changes

This is useful for visualizations, e.g. in a BNS simulation we only care about the stars, not the matter in the wave zone.

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

@@ -157,9 +158,19 @@ class ObserveFields<VolumeDim, tmpl::list<Tensors...>,
using type = FloatingPointType;
};

/// \brief A list of block or group names on which to observe.
///
/// Set to `All` to observer everywhere.
Copy link
Member

Choose a reason for hiding this comment

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

observe

Copy link
Member

@kidder kidder left a comment

Choose a reason for hiding this comment

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

squash the requested change

@nilsdeppe
Copy link
Member Author

Done and rebased. Thanks for the review!

nilsvu
nilsvu previously approved these changes Sep 27, 2024
Copy link
Member

@nilsvu nilsvu left a comment

Choose a reason for hiding this comment

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

Nice!

kidder
kidder previously approved these changes Sep 27, 2024
@nilsdeppe
Copy link
Member Author

Sorry, had to fix a silent conflict with include file names.

@nilsdeppe nilsdeppe merged commit 37cc694 into sxs-collaboration:develop Sep 28, 2024
22 of 23 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.

3 participants