yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #00328
Re: broken preprocessors after recent optimizations
Great!
Ok, I can revert some changes to let SDEClinks work...
... or we remove SDECLinks now!
Janek, do you have this transient version of a moment-rotation law that
we could use instead of SDEC links?
Bruno
Václav Šmilauer a écrit :
> Hi folks,
>
> I cooked up a simple "regression test" tool that lives in
> scripts/default-test.py. Its purpose is to run all preprocessors, one
> after another, generating a simulation and running 100 iterations of it.
> It was meant as a simple test that should be routinely performed before
> a commit to ensure nothing got broken as well as very basic benchmark
> tool. (it takes 23secs to run it on my laptop, nothing bothering)
>
> Sure enough, I bumped into quite a few of them that don't work:
> SDECLinkedSpheres, SDECMovingWall, SDECSpheresPlane, ThreePointBending.
>
> That SDEC things crashes are (debugger says) caused by not using
> dynamic_casts in
> InteractingSphere2InteractingSphere4SpheresContactGeometry, which will
> crash on SDEC links (instead of SpheresContactGeometry) (with debug
> builds at least). No idea for ThreePointBending (crashes at
> BodyRedirectionVector::operator[])
>
> (USCTGen was fixed, GlobalStiffnessCounter was assuming spherical
> elastic interactions. I added an attribute to preserve speed gain unless
> requested specifically - see last commit.)
>
> Bruno, can you review (and revert?) some of your changes in 1264 and
> find a way how to have those things work again?
>
> Oh, the script can be run like this from the 'trunk' directory:
>
> yade-trunk -N cmdGui -- -s scripts/default-test.py
>
> Best regards,
>
> Vaclav
> _______________________________________________
> yade-dev mailing list
> yade-dev@xxxxxxxxxxxxxxxx
> https://lists.berlios.de/mailman/listinfo/yade-dev
>
>
--
_______________
Chareyre Bruno
Maitre de conference
Institut National Polytechnique de Grenoble
Laboratoire 3S (Soils Solids Structures) - bureau E145
BP 53 - 38041, Grenoble cedex 9 - France
Tél : 33 4 56 52 86 21
Fax : 33 4 76 82 70 43
________________
_______________________________________________
yade-dev mailing list
yade-dev@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-dev
References