-
Couldn't load subscription status.
- Fork 30
Enable Ascent In Situ Visualization in PenningTrap Example #350
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: 209-in-situ-vis
Are you sure you want to change the base?
Enable Ascent In Situ Visualization in PenningTrap Example #350
Conversation
Add Steering functions and scripts
|
Victor thanks for the PR. If you did not have done already, could I ask you to pull the master into #350? Thanks!! |
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.
Please add information how to obtain the correct version of Acent and Catalist. In the best case can you add FetchContent to the CMakeList.txt
A short HowTo run the visualisation of PenningTrap would be very helpful.
|
Thanks a lot @mvictoras for making this interface and the PR. Does it already include the Catalyst stuffs from @jhgoebbert ? It definitely includes some but I am not sure if it includes all of it. I am not sure what is the best strategy here. May be we update this branch/PR with @jhgoebbert 's branch from his fork as well as the current Ippl master and just merge only this? @jhgoebbert please feel free to comment on it. I think it is better to merge as soon as possible and then improve upon it (e.g. with respect to organization etc.) rather than the individual floating branches in every one's own fork. What do you guys think? |
| node["topologies/" + particlesName + "_center_topo/type"].set_string("points"); | ||
| node["topologies/" + particlesName + "_center_topo/coordset"].set_string(particlesName + "_center_coords"); | ||
|
|
||
| std::vector<double> dummy_field = { 1.0f }; |
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.
What's the purpose of this dummy field?
| void Execute_Field(Field* field, const std::string& fieldName, | ||
| Kokkos::View<typename Field::view_type::data_type, Kokkos::LayoutLeft, Kokkos::HostSpace>& host_view_layout_left, | ||
| conduit::Node& node) { | ||
| static_assert(Field::dim == 3, "AscentAdaptor only supports 3D"); |
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.
Please put this assert also in the Execute_Particle.
This PR integrates Ascent in situ visualization into the PenningTrap example in IPPL. It enables real-time visualization of particle data during simulation without requiring post-processing, significantly improving analysis workflows.
Make sure to configure IPPL with Ascent support:
cmake -DENABLE_ASCENT=ON -DASCENT_DIR=/path/to/ascent ..