← Back to team overview

yade-users team mailing list archive

Re: Yade crash due to a new data class!


Janek Kozicki wrote:

>Bruno Chareyre said:     (by the date of Fri, 28 Jul 2006 15:57:52 +0200)
>>I was trying to improve the StiffnessMatrix class, by simply adding a 
>>new Vector3r to represent the rotational stiffness. It crashed when I 
>>tried to run the simulation.
>this first crash is more suspicious. Have you tried full recompile
>before adding GlobalStiffness class?

Yes, I think you are probably right on this aspect. Perhaps the simplest 
solution is to continue working with only one class (StiffnessMatrix) 
and to compile carefully... ;).



>I suspect that there is a bug that shows itself, when there are more
>classes deriving from PhysicalAction than the number of PhysicalActions
>registered for the simulation that is calculated. (I'll check it as soon
>as I'll finish that article on which I'm working now)
>However just adding a Vector3 to the class should not affect anything at
>all, with exception, that - of course all the other classes that
>#include the modified .hpp file should be recompiled as well. Normally
>kdevelop3 handles this automatically, and recompiles what is needed
>automatically. But unfortunately with current build system in yade this
>is not working, and kdevelop3 doesn't know what should be recompiled.
>Which probably resulted in the first error that you have encountered.
>I'm sorry about the grief and loss of time that this has caused to you :/

Chareyre Bruno
Maître de conférence

Institut National Polytechnique de Grenoble
Laboratoire 3S (Soils Solids Structures) - bureau I08
BP 53 - 38041, Grenoble cedex 9 - France     
Tél :

Yade-users mailing list