-
Notifications
You must be signed in to change notification settings - Fork 189
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
Conversation
f5a932b
to
0481050
Compare
There was a problem hiding this 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", |
There was a problem hiding this comment.
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 { |
There was a problem hiding this comment.
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( |
There was a problem hiding this comment.
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( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dox?
0481050
to
9485983
Compare
Fixed, thanks for reviewing 👍 |
Merging now, @markscheel let me know if you have any comments on this and I can do a follow-up. |
Proposed changes
Upgrade instructions
Code review checklist
make doc
to generate the documentation locally intoBUILD_DIR/docs/html
.Then open
index.html
.code review guide.
bugfix
ornew feature
if appropriate.Further comments