← Back to team overview

yade-dev team mailing list archive

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

 

Public bug reported:

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

** Affects: yade
     Importance: Undecided
         Status: New

-- 
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


Follow ups