ENABLE_DEFORM

Asked by Mithushan Soundaranathan on 2021-02-05

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:
2021-02-10
Last query:
2021-02-10
Last reply:
2021-02-05
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 ;-)

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

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.

Hi Jerome,

Thank you very much, it worked perfectly now.

Best,
Mithu