GravityEngine is deprecated

Asked by Kadiri

Please, can someone help me, I want to understand what this error mean :

ERROR /tmp/buildd/yadedaily-1.10.0-72-d9ab58c~precise/pkg/common/GravityEngines.cpp:19 action: GravityEngine is deprecated, consider using Newton::gravity instead (unless gravitational energy has to be tracked - not implemented with the newton attribute).

I am just trying to modify the oedometric test supplied with doc examples on cylindrical compaction test.

Kadiri

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Bruno Chareyre
Solved:
Last query:
Last reply:
Revision history for this message
Best Bruno Chareyre (bruno-chareyre) said :
#1

Hello,
It just means that something better than GravityEngine is available (Newton::gravity), where "better" means in this case running faster and easier to use.
Gravity engine will work though, it should be a warning, not an error.

Revision history for this message
Kadiri (kadirims) said :
#3

Thanks Bruno Chareyre, that solved my question.