← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 3779: Fix missing REGISTER_CLASS_INDEX(...) into ViscElPhys. This macro is essential for a right law di...

 

------------------------------------------------------------
revno: 3779
committer: Francois <francois.kneib@xxxxxxxxx>
timestamp: Wed 2013-12-18 09:04:27 +0100
message:
  Fix missing REGISTER_CLASS_INDEX(...) into ViscElPhys. This macro is essential for a right law dispatch !
modified:
  pkg/dem/ViscoelasticPM.hpp


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'pkg/dem/ViscoelasticPM.hpp'
--- pkg/dem/ViscoelasticPM.hpp	2013-12-04 19:25:29 +0000
+++ pkg/dem/ViscoelasticPM.hpp	2013-12-18 08:04:27 +0000
@@ -55,6 +55,7 @@
 		((std::string,CapillarType,"",,"Different types of capillar interaction: Willett_numeric, Willett_analytic, Weigert, Rabinovich")),
 		createIndex();
 	)
+	REGISTER_CLASS_INDEX(ViscElPhys,FrictPhys);
 };
 REGISTER_SERIALIZABLE(ViscElPhys);