yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #14531
Re: Potential Blocks and Potential Particles - Documentation
-
To:
yade-dev@xxxxxxxxxxxxxxxxxxx
-
From:
Janek Kozicki <janek_listy@xxxxx>
-
Date:
Tue, 22 Jan 2019 22:52:04 +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==
-
In-reply-to:
<CAJjzU-SgxnfcqJKGYcX3jW_AGeXwK6ogqWdjtjMC_bzCrrttSA@mail.gmail.com>
Hi Chia,
I hope that Jan could fix basic.py, because he has written it :)
If you execute command `grep Gl1_PotentialParticle . -r` you will find that
polyhedra display is in ./pkg/common/Gl1_PotentialParticle.cpp
Actually by fiddling around in GUI → Display → Gl1_PotentialParticle
I saw that after reducing the marching cube size the display can
speed up a little bit.
I tried locally commenting out //TRVAR3(…) and the examples start to
look a bit better. After toggling GUI → Display → bound, at least
boxes are shown.
I never used paraview that much actually. Are PotentialParticles drawn
properly there? Using those a,b,c,d arguments? Then perhaps we could
have a look at the code how they are being drawn. That could help to
speed up drawing without marching cubes.
If paraview can draw them, then what name paraview uses for them?
Maybe I can find this code with command `grep TheirName . -r` in the
paraview source code. They have BSD license and creative commons in
some parts. So we can use their code without any problems :)
best regards
Janek
Chia Weng Boon said: (by the date of Tue, 22 Jan 2019 21:38:48 +0800)
> Hi Janek,
> Thanks for checking.
> TRVAR3 - I didn't realise that this was uncommented in KnKsPhysPB my
> commit.
> basic.py - I couldn't recall how the file came about.
>
> I just submitted another pull request, uncommenting TRVAR3 and removing
> basic.py
> I use ParaView for display, and the vtk files would appear in the vtk
> folder.
>
> Can someone lead me to the file for polyhedra display in YADE? Maybe I can
> try to get the display to work in qt. I can't recall how I made it work
> for Potential Particles in qt. At one point in time, I always playing with
> marching cubes..but it used too much memory and the rendering was not very
> nice.
>
>
> HI all,
> Thanks for your suggestions. I will look into the rst file.
>
> Yours,
> Boon
--
Janek Kozicki http://janek.kozicki.pl/ |
References