-
Notifications
You must be signed in to change notification settings - Fork 10
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
Fix mechanical simulation with MPI #301
base: master
Are you sure you want to change the base?
Fix mechanical simulation with MPI #301
Conversation
source/MechanicalPhysics.cc
Outdated
for (auto const &cell : dealii::filter_iterators( | ||
_dof_handler.active_cell_iterators(), | ||
dealii::IteratorFilters::LocallyOwnedCell(), | ||
dealii::IteratorFilters::ActiveFEIndexEqualTo(0))) |
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 see that you changed this for consistency but the reason why we don't always use pipe is because it wasn't part of deal.II when I started adamantine
. I've tried to use pipes more consistently recently but I didn't change the old code.
While using LocallyOwnedCell()
as a separate predicates makes the code easier to understand, we are dependent on the order in which the predicates are evaluated. With ActiveFEIndexEqualTo(0, true)
, we don't have that issue. I didn't go back and changed the code once I realize that but I think the current code is a better way to write the loop.
e2e671d
to
2c9e269
Compare
For the okuma demonstration case, this is my latest backtrace
|
That's an issue with the scan path. There was an issue where Slicer would create scan path that we cannot handler. I don't know if @AshGannon pushed the lasted version of the scan path on the repo. |
Is this an event series? I think these were generated using a code from Yousub and the laser power is off by an index. If that's the case and you have the g-code, I can run it through the modified code to get an event series that will work in Adamantine. @stvdwtt have the event series been updated here? I'm on my phone at the moment, so I am not sure which print the okuma test case is. |
It doesn't look like the event series has been updated for the Okuma curved wall demonstration case. I'll look into this tomorrow (Thursday) and push updated files. Sorry for letting this get out of date. |
@stvdwtt sorry, I think I was supposed to do this and it fell off my to-do list. 🤦♀️ |
@masterleinad, these input files should work, but I haven't had a chance to test them: https://github.com/adamantine-sim/adaptive-control-driver/tree/main/demo_input_files/control3/reference_simulation |
That one has
|
No description provided.