Skip to content

Conversation

@knelli2
Copy link
Contributor

@knelli2 knelli2 commented Jul 11, 2025

Proposed changes

Fifth PR in the horizon finder changes. Adds an initialization action with adds all the tags to the box, and the component for the horizon finder.

Depends on and includes #6751.

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

@knelli2 knelli2 added this to the AH finder improvements milestone Jul 11, 2025
@knelli2 knelli2 requested a review from wthrowe July 11, 2025 20:35
@knelli2 knelli2 added the dependent Needs a different PR to be merged in first label Jul 11, 2025
ylm::Strahlkorper<Frame::Grid>{4, 2.0, std::array{0.0, 0.0, 0.0}},
expected_fast_flow, ::Verbosity::Debug, 3, std::nullopt}}};

const Parallel::GlobalCache<MockMetavariables>& cache_reference = cache;
Copy link
Member

Choose a reason for hiding this comment

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

Can't you just use cache?

using return_tags =
tmpl::list<Tags::Verbosity, Tags::FastFlow, Tags::CurrentTime>;

using argument_tags = tmpl::list<Parallel::Tags::GlobalCache<Metavariables>>;
Copy link
Member

Choose a reason for hiding this comment

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

Just request Tags::ApparentHorizonOptions<HorizonMetavars> directly, since const cache tags are in the DataBox. I believe then you don't need to template the struct on Metavariables.

@knelli2 knelli2 removed the dependent Needs a different PR to be merged in first label Jul 13, 2025
@knelli2
Copy link
Contributor Author

knelli2 commented Jul 13, 2025

Rebased and no longer dependent

@wthrowe
Copy link
Member

wthrowe commented Jul 13, 2025

Looks good. Squash.

@wthrowe wthrowe merged commit 3e0d819 into sxs-collaboration:develop Jul 14, 2025
24 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