← Back to team overview

yade-dev team mailing list archive

[Bug 1654753] Re: getStress does not fail for non NormShearPhys intrs

 

moved from https://bugs.launchpad.net/yade/+bug/1654753 to
https://gitlab.com/yade-dev/trunk/issues/32

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1654753

Title:
  getStress does not fail for non NormShearPhys intrs

Status in Yade:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1654753/+subscriptions


References