Question #702645 on Yade changed: https://answers.launchpad.net/yade/+question/702645
Status: Open => Answered Jan Stránský proposed the following answer: Hello, > to understand the specific calculation process ... of a certain function ... > is the best way to check ... the corresponding cpp? Yes, to see the source code is in this case the best approach (IMO). > is the best way to check the "https://gitlab.com/yade-dev/trunk/..." in the corresponding cpp? Check **source code** is the best way. How, it is very opinion dependent. Not only "corresponding cpp", but also .hpp files may be useful (if cpp is used as file extension and not C++ in general) Personally I prefer investigating source code locally using IDE / editor / command line, not gitlab. > But some of the commands mentioned in the manual, such as "class yade.wrapper.FrictMatCDM", are not easy to find in gitlab. Is there any method to quickly search for the coding of the command I'm looking for? In gitlab.com, you have "Seaech GitLab" text field, if you write FrictMatCDM and click "in trunk", it lists you all the occurrences. On local computer, you can e.g.: - use IDE to "jump" to declaration / definition (although I have no experience in the context of Yade) - use linux grep command line tool (or similar) to search the location E.g. grep -R -l FrictMatCDM gives me this output (basically same as gitlab search): scripts/checks-and-tests/checks/checkHertzExtended.py pkg/dem/HertzMindlinExtended.cpp pkg/dem/HertzMindlinExtended.hpp examples/test/HertzMindlinExtended/HertzMindlinExtended_singleContact.py examples/test/HertzMindlinExtended/HertzMindlinExtended_periodicSimpleShear.py so the definitions are in pkg/dem/HertzMindlinExtended files Cheers Jan -- You received this question notification because your team yade-users is an answer contact for Yade. _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp