yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #28459
Re: [Question #703419]: About the modifyication of the macro YADE_CLASS_BASE_DOC_ATTRS_CTOR in the class of NormPhys and NormshearPhys
Question #703419 on Yade changed:
https://answers.launchpad.net/yade/+question/703419
Status: Open => Answered
Jan Stránský proposed the following answer:
I see a few approaches here:
1) learn more C++ to make your C++ skills stronger, then this type of
questions should not be needed or would be a different kind ("like which
of these approaches is better?")
2) do "copy-paste" approach, get an existing quantity that is treated
the same way you need and you "copy-paste" the quantity usage
(initialization, storage, calls, ...) to your new code.
3) [3]
All options has unpredictable time resources (so ti is difficult to tell
which is better)
Cheers
Jan
[3] https://yade-dem.org/doc/consulting.html
--
You received this question notification because your team yade-users is
an answer contact for Yade.