yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #14724
how about bringing MyTetrahedron example back to documentation?
-
To:
yade-dev@xxxxxxxxxxxxxxxxxxx
-
From:
Janek Kozicki <janek_listy@xxxxx>
-
Date:
Fri, 8 Feb 2019 21:34:14 +0100
-
Face:
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAALVBMVEUBAQEtLS1KSkpRUVFXV1dYWFhjY2Nzc3N3d3eHh4eKioqdnZ24uLjLy8vc3NxVIagyAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH2AIVEzgS1fgQtQAAAjRJREFUOMtt1DFv00AUAOAzFQNbjigSyoQaRaBMhKgLUyKXpVNNeUpk9vyDqFJhQ1kiBuaqAwJCqvPtSLY7RlTn5+5IdnYkkt/AOyfxXVLe5vf53Z1875kd34tOEax8djmj6GyjhB5bxz50GdsVZr9fqRjZwAtKOJw5Wqs2MMZ16ALHsaDncF7xAHix1oEFHAB8f+pRjcO4gfZDykcYzbiucRolOLUJ6kjA0xtVt+A6TySlM0RajIpK6DzwKZ/nOYbF/gclHMo1ZOHYY/+Ha+AWuM+3oMS4eeqYzZ8FiCltgUqI8cd2wwAVpJk+8LWYjBtnJdQpHQqJMd4Oxt4bU9ESiFGc5hkqaH74asAX4iabP5I5gZ+qjgGlJCqZa3h3lxhoeVcSE1qLQC4sqKOK9MGW9E3izFqqHokoztLFEgXg31sbZEKnWi2T74A4NxfVQqlkjKtcAWD+zcArFEES01dR0E/nnV0IgugmDd/2L84sOAouRBBHEc7gtc8teDkRlE0iNQPo2w3Xhh/D4TCIQ4LRLoTvgwjj6RRgavdurxYGMaIuGOyAW/PpNlCcU9/93AHenAWYjPoAwa+G3e3to/MgFNTAEKvKDjzuCzHTnY3qqdXtx24VijzQfZ0yewZ5cwRFQaa+mIYr1uI0I76+3W4xhlvoVRwOA0Fdl64HlJnxP6T8YpX/Lga4Wv4A3ErrU5oTfN7Mu/llXMl8RXEPji/lQkN3H7qXqgC2By47EXeU/7PJ/wPxRKMnuZwIeAAAAABJRU5ErkJggg==
Back in the day I wrote this simple example for Vaclav about how to
write new geometry, collision detection and constitutive laws.
I think that Anton also studied this example. You can see it here:
git co -b old-tetra f2ddab567
find -name "*MyTetrahedron*"
So I was going through documentation and I saw this empty section,
https://yade-dev.gitlab.io/trunk/tutorial-advanced.html#new-law
and I suppose that it would be a nice place to put it there.
I am not sure if I should just write .. code-block: inside .rst with
explanations of this code. And no files in the directory tree, or
maybe put it in /examples/ directory?
But /examples/ contain only *.py code, and that would be a C++ code
example. So to have it working actually I would need to put it
in /pkg/example maybe?
what do you think?
PS: yeah I still want to make those videos from some of those new 215
examples that I checked last week, but I prefer to go from one
chapter to next one, without skipping :)
--
Janek Kozicki
Follow ups