yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #10088
[Branch ~yade-pkg/yade/git-trunk] Rev 3701: small fix in users manual
------------------------------------------------------------
revno: 3701
committer: Christian Jakob <jakob@xxxxxxxxxxxxxxxxxxx>
timestamp: Mon 2013-10-07 08:14:15 +0200
message:
small fix in users manual
modified:
doc/sphinx/user.rst
--
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 'doc/sphinx/user.rst'
--- doc/sphinx/user.rst 2013-10-04 13:41:43 +0000
+++ doc/sphinx/user.rst 2013-10-07 06:14:15 +0000
@@ -1475,6 +1475,8 @@
* :yref:`fileName<VTKRecorder.fileName>` is the prefix for files being saved. In this case, output files will be named ``/tmp/p1-spheres.0.vtu`` and ``/tmp/p1-facets.0.vtu``, where the number is the number of iteration; many files are created, putting them in a separate directory is advisable.
* :yref:`recorders<VTKRecorder.recorders>` determines what data to save
+:yref:`yade.exporter.VTKExporter` plays a similar role, with the difference that it is more flexible. It will save any user defined variable associated to the bodies.
+
Loading data into Paraview
^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1565,7 +1567,7 @@
s=bodyStressTensors()
stress = s[b.id]**4.*pi/3.*b.shape.radius**3/TW.volume(b.id)
-As any other value, the stress can be exported to a vtk file for display in Paraview using :yref:`VTKRecorder`.
+As any other value, the stress can be exported to a vtk file for display in Paraview using :yref:`yade.exporter.VTKExporter`.
******************************
Python specialties and tricks