← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 3836: normalForce and shearForce convention (sustained by #2) precised in docs

 

------------------------------------------------------------
revno: 3836
committer: jduriez <jerome.duriez@xxxxxxxxxxx>
timestamp: Tue 2016-04-12 17:31:36 -0600
message:
  normalForce and shearForce convention (sustained by #2) precised in docs
modified:
  pkg/common/NormShearPhys.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/common/NormShearPhys.hpp'
--- pkg/common/NormShearPhys.hpp	2015-07-01 18:36:34 +0000
+++ pkg/common/NormShearPhys.hpp	2016-04-12 23:31:36 +0000
@@ -10,7 +10,7 @@
 		virtual Vector3r getRotStiffness() {return Vector3r::Zero();}
 	YADE_CLASS_BASE_DOC_ATTRS_CTOR(NormPhys,IPhys,"Abstract class for interactions that have normal stiffness.",
 		((Real,kn,0,,"Normal stiffness"))
-		((Vector3r,normalForce,Vector3r::Zero(),,"Normal force after previous step (in global coordinates).")),
+		((Vector3r,normalForce,Vector3r::Zero(),,"Normal force after previous step (in global coordinates), as sustained by particle #2 (from particle #1).")),
 		createIndex();
 	);
 	REGISTER_CLASS_INDEX(NormPhys,IPhys);
@@ -23,7 +23,7 @@
 	YADE_CLASS_BASE_DOC_ATTRS_CTOR(NormShearPhys,NormPhys,
 		"Abstract class for interactions that have shear stiffnesses, in addition to normal stiffness. This class is used in the PFC3d-style stiffness timestepper.",
 		((Real,ks,0,,"Shear stiffness"))
-		((Vector3r,shearForce,Vector3r::Zero(),,"Shear force after previous step (in global coordinates).")),
+		((Vector3r,shearForce,Vector3r::Zero(),,"Shear force after previous step (in global coordinates), as sustained by particle #2 (from particle #1).")),
 		createIndex();
 	);
 	REGISTER_CLASS_INDEX(NormShearPhys,NormPhys);