-
Notifications
You must be signed in to change notification settings - Fork 1
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
support getting and setting the positions of material points #26
Conversation
fortran/c interface passes isMPActive
using kkVec3dViewHostU causes the array order to be incorrect... not clear why
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.
Looks good. Some changes needed (including _f for fortran bindings as updated in PR #22).
Co-authored-by: onkarsahni <[email protected]>
Co-authored-by: onkarsahni <[email protected]>
Co-authored-by: onkarsahni <[email protected]>
Co-authored-by: onkarsahni <[email protected]>
Co-authored-by: onkarsahni <[email protected]>
Conflicts: src/pmpo_c.cpp src/pmpo_c.h
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.
Looks good. One change requested.
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.
Missed one before, so one more change requested.
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.
Line 98: isMPActive = MP_ACTIVE !no inactive MPs and some changed below
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.
good catch, fixed fdc7119
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.
Looks good.
This PR adds the
polympo_setMPPositions
and refactors thepolympo_getMPPositions
APIs that support passing host arrays with material point positions to the GPU structures maintained by pumipic.All
ctest
s pass oncranium
.Note, issue #21 applies to the code used in these APIs as 2d arrays are being passed between the host to device.