EDEM GPU cannot calculate wear volume

I redeveloped the OKA model based on the Archard model released by the community to calculate the wear volume. The program was usable after testing on January 11, but after 10 days it prompted me with the error shown in Figure 1. I carefully checked my code and did not find any problems - the relevant code is in the compressed package below. Does anyone know the reason?
Answers
-
Hi,
It looks like under getNumberOfRequiredProperties you have 3 geometry properties registered. Also under getDetailsForProperty you have these 3 gometry property details.
However in the code it looks like you also have a contact property (CONTACTSTATE). You should make sure this is registered under getNumberOfRequiredProperties:
unsigned int COKaVolume::getNumberOfRequiredProperties(
const EPluginPropertyCategory category)
{
if (eGeometry == category)
{
return 3;
}
if (eContact == category)
{
return 1
}
else
{
return 0;
}
}and also follow the same format in the getDetailsForProperty as the other proprets to register this as 0 as property index and eContact as category.
Regards
Stephen
0 -
Hi
This is indeed the problem here, thank you very much for your answer.
thanks
zhou
0