← Back to team overview

yade-users team mailing list archive

[Question #262775]: shearIncrement() function in ScGeom returning NaN

 

New question #262775 on Yade:
https://answers.launchpad.net/yade/+question/262775

Hello everyone,

I'm facing an issue with ShearIncrement() from ScGeom which is returning NaN values at some point.

This NaN values appear sometimes only, I tried avoiding them :

Vector3r ShearInc = ScGeom->shearIncrement() / ReferenceLength;

if ( !isnan(ShearInc[0]) && !isnan(ShearInc[1]) && !isnan(ShearInc[2]))
{
	epsT += ShearInc;
}


I'm using a randomDensePack to generate the sphere packing.


Any suggestions ?

Thanks

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.