-
Notifications
You must be signed in to change notification settings - Fork 30
Vtk hdf #1084
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
base: master
Are you sure you want to change the base?
Vtk hdf #1084
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,0 +1,3 @@ | ||
| from . import tovtk | ||
|
|
||
| __all__ = ["tovtk"] | ||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -879,6 +879,10 @@ namespace core | |||||||||
| return GridLayoutImpl::centering(hybridQuantity); | ||||||||||
| } | ||||||||||
|
|
||||||||||
| NO_DISCARD constexpr static auto centering(auto const& hasQuantity) | ||||||||||
| { | ||||||||||
| return centering(hasQuantity.physicalQuantity()); | ||||||||||
| } | ||||||||||
|
Comment on lines
+882
to
+885
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove ambiguous overload. This unconstrained Remove this overload; the constrained version at lines 894-899 already handles all types with - NO_DISCARD constexpr static auto centering(auto const& hasQuantity)
- {
- return centering(hasQuantity.physicalQuantity());
- }
-📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||
|
|
||||||||||
| NO_DISCARD constexpr static std::array<std::array<QtyCentering, dimension>, 6> | ||||||||||
| centering(HybridQuantity::Tensor hybridQuantity) | ||||||||||
|
|
@@ -1027,6 +1031,29 @@ namespace core | |||||||||
|
|
||||||||||
|
|
||||||||||
|
|
||||||||||
| /** | ||||||||||
| * @brief BxToMoments return the indexes and associated coef to compute the linear | ||||||||||
| * interpolation necessary to project Bx onto moments. | ||||||||||
| */ | ||||||||||
| NO_DISCARD auto static constexpr BxToMoments() { return GridLayoutImpl::BxToMoments(); } | ||||||||||
|
|
||||||||||
|
|
||||||||||
| /** | ||||||||||
| * @brief ByToMoments return the indexes and associated coef to compute the linear | ||||||||||
| * interpolation necessary to project By onto moments. | ||||||||||
| */ | ||||||||||
| NO_DISCARD auto static constexpr ByToMoments() { return GridLayoutImpl::ByToMoments(); } | ||||||||||
|
|
||||||||||
|
|
||||||||||
| /** | ||||||||||
| * @brief BzToMoments return the indexes and associated coef to compute the linear | ||||||||||
| * interpolation necessary to project Bz onto moments. | ||||||||||
| */ | ||||||||||
| NO_DISCARD auto static constexpr BzToMoments() { return GridLayoutImpl::BzToMoments(); } | ||||||||||
|
|
||||||||||
|
|
||||||||||
|
|
||||||||||
|
|
||||||||||
| /** | ||||||||||
| * @brief ExToMoments return the indexes and associated coef to compute the linear | ||||||||||
| * interpolation necessary to project Ex onto moments. | ||||||||||
|
|
@@ -1181,6 +1208,8 @@ namespace core | |||||||||
| })); | ||||||||||
| } | ||||||||||
|
|
||||||||||
|
|
||||||||||
|
|
||||||||||
| template<typename Field, typename Fn> | ||||||||||
| void evalOnBox(Field& field, Fn&& fn) const | ||||||||||
| { | ||||||||||
|
|
||||||||||
Uh oh!
There was an error while loading. Please reload this page.