error about particle blocks
Hi guys:
I make a model with 40000 floatings. When I run the test I got error as follows:
*** Exception (JSphMk::Config)
Text: The number of fixed particle blocks exceeds the maximum.
I found the error sentence in JSphMK.cpp and printed the MkListFixed and CODE_MKRANGEMAX:
MkListFixed=parts->CountBlocks(PT_Fixed);
cout<<"MkListFixed="<<MkListFixed<<endl;
cout<<"CODE_MKRANGEMAX="<<CODE_MKRANGEMAX<<endl;
if(MkListFixed >CODE_MKRANGEMAX)RunException(met,"The number of fixed particle blocks exceeds the maximum.");
the MkListFixed=33152 and CODE_MKRANGEMAX=2047
But in another model I made before with floating 64645. the MkListFixed=1
So I think may be the error is due to the model file(.xml).
So what is the meaning of MkListFixed?
Best regards
dong
I make a model with 40000 floatings. When I run the test I got error as follows:
*** Exception (JSphMk::Config)
Text: The number of fixed particle blocks exceeds the maximum.
I found the error sentence in JSphMK.cpp and printed the MkListFixed and CODE_MKRANGEMAX:
MkListFixed=parts->CountBlocks(PT_Fixed);
cout<<"MkListFixed="<<MkListFixed<<endl;
cout<<"CODE_MKRANGEMAX="<<CODE_MKRANGEMAX<<endl;
if(MkListFixed >CODE_MKRANGEMAX)RunException(met,"The number of fixed particle blocks exceeds the maximum.");
the MkListFixed=33152 and CODE_MKRANGEMAX=2047
But in another model I made before with floating 64645. the MkListFixed=1
So I think may be the error is due to the model file(.xml).
So what is the meaning of MkListFixed?
Best regards
dong
Comments
Thanks for your reply. And I change the value of boundcount and run the model successfully.
dong