Re: [Yade-users] [Question #399298]: Machmaker in CPM model

2016-09-19 Thread Jérôme Duriez
Question #399298 on Yade changed:
https://answers.launchpad.net/yade/+question/399298

Status: Open => Answered

Jérôme Duriez proposed the following answer:
Hi,

1- The exact same page https://yade-dem.org/doc/installation.html also
details how to install (i.e. compile) YADE from source code, just give a
look a little below ;-)

2- As with any software/program, you will need to recompile YADE after
having changed the sources, for things "to work"

Have a good dive into YADE open-source nature !

-- 
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


Re: [Yade-users] [Question #399298]: Machmaker in CPM model

2016-09-19 Thread Seti
Question #399298 on Yade changed:
https://answers.launchpad.net/yade/+question/399298

Status: Answered => Open

Seti is still having a problem:
Thanks Jan for kind support. I have downloaded yade from
"https://github.com/yade/trunk;

is that what you have recommended?

if yes,
1- How I can install it? 
installing package was really easy just copy/past the mentioned commend lines 
from "https://yade-dem.org/doc/installation.html; however I am not sure how 
should I install the source codes. would you please assist me ?

2- I have found the source code of CPM on truck and I suppose I should
change below lines to add matchmaker to control the cohesion. so dose it
mean if I do changes in "  trunk/pkg/dem/ConcretePM.hpp" and save it
then run YADE it will work?

###
class Ip2_CpmMat_CpmMat_CpmPhys: public IPhysFunctor{
public:
virtual void go(const shared_ptr& pp1, const 
shared_ptr& pp2, const shared_ptr& interaction);
FUNCTOR2D(CpmMat,CpmMat);
DECLARE_LOGGER;

YADE_CLASS_BASE_DOC_ATTRS(Ip2_CpmMat_CpmMat_CpmPhys,IPhysFunctor,"Convert 2 
:yref:`CpmMat` instances to :yref:`CpmPhys` with corresponding parameters. Uses 
simple (arithmetic) averages if material are different. Simple copy of 
parameters is performed if the :yref:`material` is shared between both 
particles. See :yref:`cpm-model` for detals.",
((long,cohesiveThresholdIter,10,,"Should new contacts 
be cohesive? They will before this iter#, they will not be afterwards. If 0, 
they will never be. If negative, they will always be created as cohesive (10 by 
default)."))
((shared_ptr,E,,,"Instance of 
:yref:`MatchMaker` determining how to compute interaction's normal modulus. If 
``None``, average value is used."))
);
}; 

##

Thanks

-- 
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


Re: [Yade-users] [Question #399298]: Machmaker in CPM model

2016-09-19 Thread Jan Stránský
Question #399298 on Yade changed:
https://answers.launchpad.net/yade/+question/399298

Status: Open => Answered

Jan Stránský proposed the following answer:
Ok, in yadedaily you cannot modify the source code.. could you use yade
compiled from source? Then you could implement this by yourself :-)
cheers
Jan


2016-09-19 12:02 GMT+02:00 Seti :

> Question #399298 on Yade changed:
> https://answers.launchpad.net/yade/+question/399298
>
> Status: Answered => Open
>
> Seti is still having a problem:
> Hi Jan,
>
>
> Thank so much for your reply. I am using "yadedaily" for this code.
>
> Yade:
> Yade 1.20.0
>
> Yadedaily :
>   Yade 2016.06a-20-d4840e5~xenial
>
> --
> 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
>

-- 
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


Re: [Yade-users] [Question #399298]: Machmaker in CPM model

2016-09-19 Thread Seti
Question #399298 on Yade changed:
https://answers.launchpad.net/yade/+question/399298

Status: Answered => Open

Seti is still having a problem:
Hi Jan,


Thank so much for your reply. I am using "yadedaily" for this code.   

Yade: 
Yade 1.20.0 

Yadedaily :
  Yade 2016.06a-20-d4840e5~xenial

-- 
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