ENABLE_DEFORM

Asked by Mithushan Soundaranathan

Hi,

I have installed YADE, but have not ENABLE_DEFORM before installisation. Currently, I am working on a script which need deform. Is it possible to enable deform after installation, or do I need install YADE again?

Best,
Mithushan

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Mithushan Soundaranathan
Solved:
Last query:
Last reply:
Revision history for this message
Jérôme Duriez (jduriez) said :
#1

YADE options such as "deform" are compilation options. If you do not have it until now and want to have it, you necessarily have to (re)compile ;-)

Revision history for this message
Mithushan Soundaranathan (mithushan93) said :
#2

Thank you, how do I (re)compile? How do I ENABLE_DEFORM, when I (re)compile?

Revision history for this message
Jérôme Duriez (jduriez) said :
#3

I'm guessing you installed yade as a package.
You now have to look at https://yade-dem.org/doc/installation.html#compilation, and pay attention to pass -DENABLE_DEFORM = ON at the cmake step.

Revision history for this message
Mithushan Soundaranathan (mithushan93) said :
#4

Hi Jerome,

Thank you very much, it worked perfectly now.

Best,
Mithu