yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #19789
Re: [Question #681043]: what does scene.cpp do?
Question #681043 on Yade changed:
https://answers.launchpad.net/yade/+question/681043
Jan Stránský proposed the following answer:
Scene represents "simulation". Contains bodies, interactions, materials,
force, engines... also have moveToNextStep method... see core/Scene.hpp
for more details.
In Python, most of O.something calls are actually internally redirected
to current Scene instance [1], note the OMEGA.getScene()->something
cheers
Jan
[1] https://gitlab.com/yade-
dev/trunk/blob/master/py/wrapper/yadeWrapper.cpp#L599
--
You received this question notification because your team yade-users is
an answer contact for Yade.