>         
>         
> YADE_CLASS_BASE_DOC_ATTRDECL_CTOR_PY(Law2_Dem3DofGeom_RockPMPhys_Rpm,LawFunctor,"Constitutive
>  law for the Rpm model",
>         +               ((int,thisIsJustCap,0,"This is just a
>         cap.")),,);

YADE_CLASS_BASE_DOC_ATTRDECL_CTOR_PY(Law2_Dem3DofGeom_RockPMPhys_Rpm,LawFunctor,"Constitutive
 law for the Rpm model",((Real,foo,0,"Foo")),,);

works just fine here. (Don't forget to remove REGISTER_CLASS_AND_BASE
and REGISTER_ATTRIBUTES).

If there is no attribute declared, it will fail, I will fix that later.





_______________________________________________
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