← Back to team overview

yade-users team mailing list archive

Re: [Question #188259]: how to add new functions

 

Question #188259 on Yade changed:
https://answers.launchpad.net/yade/+question/188259

Jan Stránský proposed the following answer:
Hi Ning,

find e.g. stressTensorOfPeriodicCell function in files:
pkg/dem/Shop.hpp
pkg/dem/Shop.cpp
py/_utils.cpp

you should know from it how to continue :-)

Jan


ceguo píše v Po 20. 02. 2012 v 06:30 +0000:
> New question #188259 on Yade:
> https://answers.launchpad.net/yade/+question/188259
> 
> Hi,
> 
> I want to add a function very similar to util.stressTensorOfPeriodicCell in C++ level and wrap it to python code so I can return its value (what I want to extract is tangent operator actually). What is the main procedure to do this work? Could anyone refer me a doc or something?
> 
> Ning
>

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.