← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 2321: fix two typos, replace Real strain[3] with Vector3r strain

 

------------------------------------------------------------
revno: 2321
committer: Janek Kozicki <cosurgi@xxxxxxxxxx>
branch nick: trunk
timestamp: Mon 2010-07-05 18:01:00 +0200
message:
  fix two typos, replace Real strain[3] with Vector3r strain
modified:
  doc/sphinx/user.rst
  pkg/dem/Engine/PartialEngine/TriaxialStressController.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 'doc/sphinx/user.rst'
--- doc/sphinx/user.rst	2010-07-05 13:41:14 +0000
+++ doc/sphinx/user.rst	2010-07-05 16:01:00 +0000
@@ -1383,7 +1383,7 @@
 	#7  0x00000000004a7c5e in call_function (f=Frame 0x1c54620, for file <ipython console>, line 1, in <module> (), throwflag=<value optimized out>) at ../Python/ceval.c:3750
 	#8  PyEval_EvalFrameEx (f=Frame 0x1c54620, for file <ipython console>, line 1, in <module> (), throwflag=<value optimized out>) at ../Python/ceval.c:2412
 
-If you think this might be error in Yade, file a bug report as explained below. Do not forget to attach *full* yade output from terminal, including startup messages and debugger output -- select with right moust button, paste with middle button to the bugreport to to a file and attach it. Attach your simulation script as well.
+If you think this might be error in Yade, file a bug report as explained below. Do not forget to attach *full* yade output from terminal, including startup messages and debugger output -- select with right mouse button, paste with middle button to the bugreport to to a file and attach it. Attach your simulation script as well.
 
 Reporting bugs
 ==============

=== modified file 'pkg/dem/Engine/PartialEngine/TriaxialStressController.hpp'
--- pkg/dem/Engine/PartialEngine/TriaxialStressController.hpp	2010-07-05 13:38:12 +0000
+++ pkg/dem/Engine/PartialEngine/TriaxialStressController.hpp	2010-07-05 16:01:00 +0000
@@ -35,7 +35,7 @@
 		boost::array<Vector3r,6> previousTranslation;
 		//! The value of stiffness (updated according to stiffnessUpdateInterval) 
 		vector<Real>	stiffness;
-		Real 		strain [3];
+		Vector3r	strain;
 		Vector3r	normal [6];
 		//! The values of stresses 
 		Vector3r	stress [6];
@@ -130,7 +130,7 @@
 		porosity=1;
 		,
 		.def_readonly("strain",&TriaxialStressController::strain,"Current strain (logarithmic).")
- 		.def_readonly("porosity",&TriaxialStressController::porosity,"Pososity of the packing.")
+ 		.def_readonly("porosity",&TriaxialStressController::porosity,"Porosity of the packing.")
 		.def_readonly("boxVolume",&TriaxialStressController::boxVolume,"Total packing volume.")
 		.def_readonly("max_vel1",&TriaxialStressController::max_vel1,"see :yref:`TriaxialStressController::max_vel` |ycomp|")
 		.def_readonly("max_vel2",&TriaxialStressController::max_vel2,"see :yref:`TriaxialStressController::max_vel` |ycomp|")