getStress does not fail for non NormShearPhys intrs

Bug #1654753 reported by Jan Stránský
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Yade
New
Undecided
Unassigned

Bug Description

Hello,
As reporetd in [1], BubblePhys (directly derived from IPhys) passes getStress without error. In the function,
NormShearPhys* nsi=YADE_CAST<NormShearPhys*> ( I->phys.get() );
nsi->shearForce is used, however it is something strange now in that case..

Should be fixed for this minor case (as majority of IPhys classes is derived from NormShearPhy)?

cheers
Jan

[1] https://answers.launchpad.net/yade/+question/432620

Revision history for this message
Janek Kozicki (cosurgi) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.