yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #05882
Re: [Question #194918]: change blockedDOFs of utils.box
Question #194918 on Yade changed:
https://answers.launchpad.net/yade/+question/194918
Chareyre proposed the following answer:
More seriously: the problem with testing such trivial thing is that it would be tested for all bodies at each iteration. It would clearly represent a waste of cpu time.
Asserts are good for that, you could add one (if it's not already there). Then you have to run the debug mode to get the tests and warnings. In optimized build there are disabled, hence no waste of cpu.
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.