← 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

    Status: Open => Answered

Anton Gladky proposed the following answer:
Hi,

please, have a look at similar functions at shop.cpp, for example.
Most of them are wrapped to python.

Anton


2012/2/20 ceguo <question188259@xxxxxxxxxxxxxxxxxxxxx>:
> 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.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp

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