yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #05347
[Branch ~yade-dev/yade/trunk] Rev 2362: 1. RockPM update.
------------------------------------------------------------
revno: 2362
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
branch nick: trunk
timestamp: Wed 2010-07-14 13:30:24 +0200
message:
1. RockPM update.
modified:
pkg/dem/meta/RockPM.cpp
pkg/dem/meta/RockPM.hpp
--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk
Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription
=== modified file 'pkg/dem/meta/RockPM.cpp'
--- pkg/dem/meta/RockPM.cpp 2010-04-25 15:46:26 +0000
+++ pkg/dem/meta/RockPM.cpp 2010-07-14 11:30:24 +0000
@@ -4,7 +4,7 @@
#include<yade/pkg-dem/Shop.hpp>
-YADE_PLUGIN((Law2_Dem3DofGeom_RockPMPhys_Rpm)(RpmMat)(Ip2_RpmMat_RpmMat_RpmPhys)(RpmPhys));
+YADE_PLUGIN((RpmState)(Law2_Dem3DofGeom_RockPMPhys_Rpm)(RpmMat)(Ip2_RpmMat_RpmMat_RpmPhys)(RpmPhys));
/********************** Law2_Dem3DofGeom_RockPMPhys_Rpm ****************************/
=== modified file 'pkg/dem/meta/RockPM.hpp'
--- pkg/dem/meta/RockPM.hpp 2010-07-08 14:58:21 +0000
+++ pkg/dem/meta/RockPM.hpp 2010-07-14 11:30:24 +0000
@@ -17,10 +17,12 @@
class RpmState: public State {
- YADE_CLASS_BASE_DOC_ATTRS(RpmState,State,"State information about Rpm body.",
+ YADE_CLASS_BASE_DOC_ATTRS_CTOR(RpmState,State,"State information about Rpm body.",
((int,specimenNumber,0,"The variable is used for particle size distribution analyze. Indicates, to which part of specimen belongs para of particles."))
- ((Real,specimenMass,0,"Indicates the mass of the whole stone, which owns the particle."))
+ ((Real,specimenMass,0,"Indicates the mass of the whole stone, which owns the particle.")),
+ /*ctor*/ createIndex();
);
+ REGISTER_CLASS_INDEX(RpmState,State);
};
REGISTER_SERIALIZABLE(RpmState);