-
Notifications
You must be signed in to change notification settings - Fork 30
WIP 3d #1100
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?
WIP 3d #1100
Conversation
|
Important Review skippedIgnore keyword(s) in the title. ⛔ Ignored keywords (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| electromag_test(TypeParam{job_file}, out_dir); | ||
| } | ||
|
|
||
| TYPED_TEST(Simulator3dTest, allFromPython) |
Check notice
Code scanning / CodeQL
Unused static variable
| particles_test(TypeParam{job_file}, out_dir); | ||
| } | ||
|
|
||
| TYPED_TEST(Simulator3dTest, electromag) |
Check notice
Code scanning / CodeQL
Unused static variable
| fluid_test(TypeParam{job_file}, out_dir); | ||
| } | ||
|
|
||
| TYPED_TEST(Simulator3dTest, particles) |
Check notice
Code scanning / CodeQL
Unused static variable
| static std::string const job_file = "job_3d"; | ||
| static std::string const out_dir = "phare_outputs/diags_3d/"; | ||
|
|
||
| TYPED_TEST(Simulator3dTest, fluid) |
Check notice
Code scanning / CodeQL
Unused static variable
|
|
||
| #include "core/def/phare_mpi.hpp" | ||
|
|
||
| #include "test_diagnostics.ipp" |
Check notice
Code scanning / CodeQL
Include header files only
| { | ||
| auto const& [start_y, __] | ||
| = layout.physicalStartToEnd(PHARE::core::QtyCentering::dual, PHARE::core::Direction::Y); | ||
| auto const& [start_z, ___] |
Check notice
Code scanning / CodeQL
Unused local variable
| } | ||
| if constexpr (dimension == 3) | ||
| { | ||
| auto const& [start_y, __] |
Check notice
Code scanning / CodeQL
Unused local variable
| } | ||
| if constexpr (dimension == 3) | ||
| { | ||
| auto const& [start_y, __] |
Check notice
Code scanning / CodeQL
Unused local variable
| auto& J = hybridModel.state.J; | ||
| auto& Vi = hybridModel.state.ions.velocity(); | ||
| auto& Ni = hybridModel.state.ions.chargeDensity(); | ||
| auto& E = hybridModel.state.electromag.E; |
Check notice
Code scanning / CodeQL
Unused local variable
| using FineParticle = decltype(particles[0]); // may be a reference | ||
|
|
||
| core::apply(patterns, [&](auto const& pattern) { | ||
| auto weight = static_cast<Weight_t>(pattern.weight_); |
Check notice
Code scanning / CodeQL
Unused local variable
| electromag_test(TypeParam{job_file}, out_dir); | ||
| } | ||
|
|
||
| TYPED_TEST(Simulator3dTest, allFromPython) |
Check notice
Code scanning / CodeQL
Unused static variable Note test
| particles_test(TypeParam{job_file}, out_dir); | ||
| } | ||
|
|
||
| TYPED_TEST(Simulator3dTest, electromag) |
Check notice
Code scanning / CodeQL
Unused static variable Note test
| fluid_test(TypeParam{job_file}, out_dir); | ||
| } | ||
|
|
||
| TYPED_TEST(Simulator3dTest, particles) |
Check notice
Code scanning / CodeQL
Unused static variable Note test
| static std::string const job_file = "job_3d"; | ||
| static std::string const out_dir = "phare_outputs/diags_3d/"; | ||
|
|
||
| TYPED_TEST(Simulator3dTest, fluid) |
Check notice
Code scanning / CodeQL
Unused static variable Note test
|
|
||
| #include "core/def/phare_mpi.hpp" | ||
|
|
||
| #include "test_diagnostics.ipp" |
Check notice
Code scanning / CodeQL
Include header files only Note test
| return std::make_tuple(criter_x, criter_y, criter_z); | ||
| }; | ||
|
|
||
| auto const& [Bx_x, Bx_y, Bx_z] = field_diff(Bx); |
Check notice
Code scanning / CodeQL
Unused local variable Note
| { | ||
| auto const& [start_y, __] | ||
| = layout.physicalStartToEnd(PHARE::core::QtyCentering::dual, PHARE::core::Direction::Y); | ||
| auto const& [start_z, ___] |
Check notice
Code scanning / CodeQL
Unused local variable Note
| { | ||
| auto const& [start_y, __] | ||
| = layout.physicalStartToEnd(PHARE::core::QtyCentering::dual, PHARE::core::Direction::Y); | ||
| auto const& [start_z, ___] |
Check notice
Code scanning / CodeQL
Unused local variable Note
| } | ||
| if constexpr (dimension == 3) | ||
| { | ||
| auto const& [start_y, __] |
Check notice
Code scanning / CodeQL
Unused local variable Note
| } | ||
| if constexpr (dimension == 3) | ||
| { | ||
| auto const& [start_y, __] |
Check notice
Code scanning / CodeQL
Unused local variable Note
e1b7238 to
4de43d2
Compare
not ready, just here for TC tests