Hi all,

I have finally moved all capillary stuff out of ViscEl. See 2 last commits.
What I am planning to do is to use matchmaker.

The only thing, which does not works good for me is the following [1].
Static_cast is not working very well with parents classes. So I needed
to copy parameters manually:

  phys->kn = physT->kn;
  phys->ks = physT->ks;
  phys->cn = physT->cn;
  phys->cs = physT->cs;
  phys->tangensOfFrictionAngle = physT->tangensOfFrictionAngle;
  phys->shearForce = physT->shearForce;
  phys->mRtype = physT->mRtype;

What am I missing? Is it possible to do it more nicely?

[1] 
https://github.com/yade/trunk/blob/master/pkg/dem/ViscoelasticCapillarPM.cpp#L24

Thanks all for discussion

Anton


2014-02-17 12:40 GMT+01:00 Bruno Chareyre <[email protected]>:
> Yes, except that the capillary model has no material parameters, hence
> there is no need for a special material.
> A special IPhys to carry the data is enough.

_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to