← Back to team overview

yade-dev team mailing list archive

[Bug 672623] Re: NozzleFactory: miss density in the inertia calculation

 

** Changed in: yade
       Status: New => Fix Released

-- 
NozzleFactory: miss density in the inertia calculation
https://bugs.launchpad.net/bugs/672623
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.

Status in Yet Another Dynamic Engine: Fix Released

Bug description:
NozzleFactory.cpp line 79 should be:

state->inertia=(2./5.)*vol*r*r*material->density*Vector3r::Ones();

Furthermore, NozzleFactory.cpp line 64: hardcoded velocity - seems not good idea...

On the future: 
1. can I commits such bugs by myself or better to make bug reports?





References