Hi all,
I have tried to update my previous code to GPU. But my previous breakage model is based on the contacts, once the contact of the particle is larger than the criterion, the particle will be replaced by a number of particles. I have seen the header file of the IPluginContactModelV3_1_0.h, but it does not include the function: processParticleOfInterest, which is used for treating the marked particle in GPU or CPU.
Besides, the function: "markParticleOfInterest" in GPU code seems not to work in "ParticleReplacementBreakage_v3_1_0CalculateForce", because the type of “SApiContactModelParticleManager” and "SApiExternalForceParticleManager" is different if I use the "markParticleOfInterest" in GPU.
Can you tell me how to mark the particle in the ParticleReplacementBreakage_v3_1_0CalculateForce for GPU part, thank you!
Regards,
Dazhao