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

Move frame transformations to Tensor lib, add function to transform flux tensors to logical frame #5654

Merged
merged 3 commits into from
Dec 12, 2023

Conversation

nilsvu
Copy link
Member

@nilsvu nilsvu commented Dec 7, 2023

Proposed changes

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

@nilsvu nilsvu force-pushed the transform_tensor branch 2 times, most recently from f5a932b to 0481050 Compare December 8, 2023 17:45
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.

Thanks for doing this! Some suggestions, please squash immediately :)

}

} // namespace

SPECTRE_TEST_CASE("Unit.PointwiseFunctions.GeneralRelativity.Transform",
Copy link
Member

Choose a reason for hiding this comment

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

I think you forgot to update the test name when you moved it in the first commit

get<InputTags>(input), inv_jacobian));
}

namespace Tags {
Copy link
Member

Choose a reason for hiding this comment

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

dox for the namespace and/or tag?

typename TargetFrame,
typename ResultVars = Variables<tmpl::list<
Tags::TransformedFirstIndex<InputTags, SourceFrame>...>>>
ResultVars first_index_to_different_frame(
Copy link
Member

Choose a reason for hiding this comment

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

dox so it can be found in doxygen?


template <typename... ResultTags, typename... InputTags, size_t Dim,
typename SourceFrame, typename TargetFrame>
void first_index_to_different_frame(
Copy link
Member

Choose a reason for hiding this comment

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

dox?

@nilsvu
Copy link
Member Author

nilsvu commented Dec 11, 2023

Fixed, thanks for reviewing 👍

@nilsvu
Copy link
Member Author

nilsvu commented Dec 12, 2023

Merging now, @markscheel let me know if you have any comments on this and I can do a follow-up.

@nilsvu nilsvu merged commit 4165b9a into sxs-collaboration:develop Dec 12, 2023
22 checks passed
@nilsvu nilsvu deleted the transform_tensor branch December 12, 2023 16:32
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