[Yade-dev] Disabling/redirecting questions on launchpad?

2023-12-13 Thread Jan Stránský
Hello, there are regularly new questions on launchpad. Would it be possible to disable new questions? Or better, somehow automatically redirect to GitLab? Cheers Jan ___ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@lists.launchpad.

Re: [Yade-dev] Test

2023-08-30 Thread Jan Stránský
yes, I got the e-mail Jan Dne st 30. 8. 2023 19:23 uživatel Janek Kozicki (yade) < jkozicki-y...@pg.edu.pl> napsal: > Hi Bruno, > > I did not receive your email. I copied it from list archive website. > I am not sure how is it possible that you received it and I didn't. > Maybe something is wron

Re: [Yade-dev] Website down?

2022-05-26 Thread Jan Stránský
no.. Jan čt 26. 5. 2022 v 16:55 odesílatel Robert Caulk napsal: > Anyone else able to reach yade-dem.org > ___ > Mailing list: https://launchpad.net/~yade-dev > Post to : yade-dev@lists.launchpad.net > Unsubscribe : https://launchpad.net/~yade-dev

[Yade-dev] Wiki is down

2022-05-08 Thread Jan Stránský
Hello, In case you do not know it, wiki is currently not accessible, showing HTTP ERROR 500 www.yade-dem.org is currently unable to handle this request. I cannot link to https://www.yade-dem.org/wiki/Howtoask :-D Cheers Jan ___ Mailing list: https://la

[Yade-dev] Pictures in Yade questions?

2021-02-20 Thread Jan Stránský
Hello, regarding no external links for questions, it is reasonable. However, sometimes a *picture* might be necessary or at least convenient (or?). Would it be worth declaring some "standard pictures repository" for Yade questions? To allow putting certain attachment, but in a standard way overcom

Re: [Yade-dev] Wiki FAQ

2020-07-21 Thread Jan Stránský
I also would not entirely delete the page / content. > maybe they should go somewhere else, but where? one option is to put them to the source code in the .rst format and create a new "main page link" similar to tutorial cheers Jan út 21. 7. 2020 v 15:45 odesílatel Bruno Chareyre < bruno.c

Re: [Yade-dev] Publications with yade

2020-07-14 Thread Jan Stránský
Hello, thanks for the info > Please find attached some of the resulting publications there was no attachment... > ... if deemed relevant. I think all publications directly using Yade are relevant to the "publication" part of the main page. >From source code point of view (you will be author of

Re: [Yade-dev] [Bug 1810283] Re: Wiki homepage broken

2019-02-22 Thread Jan Stránský
Hello, just a note concerning wiki, I know (but have no experience with them) that gitlab offers wiki pages. Maybe it would be worth moving also wiki within the gitlab migration.. cheers Jan pá 22. 2. 2019 v 15:13 odesílatel Bruno Chareyre < bruno.chare...@3sr-grenoble.fr> napsal: > Hi, > The wi

[Yade-dev] [Bug 1814052] Re: Unreproductible simulation (one core, one computer, one script) with a tutorial example

2019-01-31 Thread Jan Stránský
Hello, > Sorry I forgot to underline the fact that my packing is the same for each run. please provide the exact script you are using. There is no packing loading in the current script.. Or the information how you load the packing.. thanks Jan -- You received this bug notification because you

Re: [Yade-dev] [Yade-users] [Question #676841]: the definition of porosity

2019-01-24 Thread Jan Stránský
] :-) Jan [1] https://answers.launchpad.net/yade/+question/678055 út 18. 12. 2018 v 20:07 odesílatel Bruno Chareyre < bruno.chare...@3sr-grenoble.fr> napsal: > > > Le mar. 18 déc. 2018 16:37, Jan Stránský a > écrit : > >> >> >> see my previous (slightly

Re: [Yade-dev] Fixing the examples

2019-01-23 Thread Jan Stránský
Hmm, it seems you are right, but I don't remember at all creating such example :-D so most likely I will be of no help fixing it.. Jan st 23. 1. 2019 v 11:44 odesílatel Janek Kozicki napsal: > Jan Stránský said: (by the date of Tue, 22 Jan 2019 23:15:32 +0100) > > > >

Re: [Yade-dev] Fixing the examples

2019-01-22 Thread Jan Stránský
ete it, but you have written it. Maybe > there is a chance to recover it? > > best regards > Janek > > Jan Stránský said: (by the date of Sun, 20 Jan 2019 21:44:29 +0100) > > > Hi Janek, > > > > thanks for the detailed look :-) > > > > > If

Re: [Yade-dev] Fixing the examples

2019-01-20 Thread Jan Stránský
Hi Janek, thanks for the detailed look :-) > If you have any hints on how to fix any of those examples, please tell! several mentioned not working script is from me. I think than correcting them and pushing to gitlab is better than telling :-) > Also I see that https://yade-dem.org/doc/tutorial

Re: [Yade-dev] [Yade-users] [Question #676841]: the definition of porosity

2018-12-18 Thread Jan Stránský
>> I like my point of view very much :-) ... > No luck then. :( it was just explanation why I did the answer. In general I agree with both options, just wanted to "defend" my approach. I also think we come to philosophy area in many places here :-) especially because finally one arrives to the sam

Re: [Yade-dev] [Yade-users] [Question #676841]: the definition of porosity

2018-12-17 Thread Jan Stránský
Hi Bruno, A) I am currently not so active contributor, so I do not insist on my point of view B) I like my point of view very much :-) and it makes to me much more sense and I wanted to present it here as I understand DEM and always explained it is that: 1) DEM represents material as a set of per

Re: [Yade-dev] Potential Blocks in a Periodic Box

2018-11-01 Thread Jan Stránský
Hello, what version of Yade and what operating system do you use? PotentialBlocks are not compiled by default. I can **try** your code and to help you (without any guarantee to succeed :-) In general, bodies should have no problems with O.periodic=True, but interaction evaluation should implement

[Yade-dev] [Bug 1764424] Re: Segfaults with boost::python::tuple during simulation loop

2018-08-01 Thread Jan Stránský
Hi Jerome, to find where the segfault problem comes from, you can run catchsegv yade script.py the output tells the last actions before the segfault. If the output is too long, you can try catchsegv yade script.py > /tmp/segv.err or catchsegv yade script.py 2> /tmp/segv.err (don't remember) and pr

[Yade-dev] Removal of TranslationEngine

2018-07-28 Thread Jan Stránský
Hi Bruno, answering here not to pollute the original question [1]. You can impose the velocity of the piston as b.state.vel=(x,y,z) after > setting b.state.blockedDOFs='xyzXYZ'. You then make it zero in the begining > and change for something else at some point. > TranslationEngine makes this sim

Re: [Yade-dev] Why _utils.hpp and Shop.hpp ? Shop::getPorosity vs Shop__getPorosity

2018-07-16 Thread Jan Stránský
Hi Jerome, below please find my opinion. If the approach proposed by you works and does not break existing code (or it is not easy to fix it), I would have nothing against the refactoring. What is the reason for having (for instance) Shop__getPorosity() in > py/_utils.hpp/cpp and Shop::getPorosi

Re: [Yade-dev] About pastebin and data files in launchpad questions

2018-06-29 Thread Jan Stránský
I agree too, I would add a note that the problem might be solved by the process of creating MWE.. > Jan is probably too kind for that ;-) well, it annoys me more and more, too, so I will at least answer with delay :-) cheers Jan 2018-06-29 14:09 GMT+02:00 Jerome Duriez : > Hi all, > > I agre

[Yade-dev] [Bug 1738747] Re: ymport.unv - global name 'facets' is not defined

2017-12-18 Thread Jan Stránský
Hello Jouny, thanks for reporting the bug, I have fixed it [1]. As Bruno pointed, next time please provide more info (like I have tried this example, I have tried the code below, I use this version of yade etc.) cheers Jan [1] https://github.com/yade/trunk/commit/925f7358f89e17ddfa91ee4b657a3cc6f

[Yade-dev] [Bug 1738232] Re: Inconsistency in doc of Body::intrs and code InteractionContainer::insert

2017-12-15 Thread Jan Stránský
Hi Bruno, thanks for info, I have updated the docstring Jan ** Changed in: yade Status: New => Fix Released -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1738232 Title: Inconsistency in do

[Yade-dev] [Bug 1738232] [NEW] Inconsistency in doc of Body::intrs and code InteractionContainer::insert

2017-12-14 Thread Jan Stránský
Public bug reported: Hello, in the docs of Body [1] there is "NOTE: (currently) does not contain all interactions with this body (only those where otherId>id), since performance issues with such data duplication have not yet been investigated." but in the InteractionContainer::insert, the oppos

[Yade-dev] [Bug 1666838] [NEW] aperiodic randomDensePack huge overlaps and strange behavior

2017-02-22 Thread Jan Stránský
Public bug reported: Based on question https://answers.launchpad.net/yade/+question/473518, I did some simple tests using Yade 1.20.0 on Ubuntu 16.04 from yade import pack pred=pack.inAlignedBox((0,0,0),(2,1,1)) spheres=pack.randomDensePack(pred, radius=0.1) O.bodies.appe

[Yade-dev] [Bug 1654753] [NEW] getStress does not fail for non NormShearPhys intrs

2017-01-07 Thread Jan Stránský
Public bug reported: Hello, As reporetd in [1], BubblePhys (directly derived from IPhys) passes getStress without error. In the function, NormShearPhys* nsi=YADE_CAST ( I->phys.get() ); nsi->shearForce is used, however it is something strange now in that case.. Should be fixed for this minor ca

Re: [Yade-dev] [Bug 1652529] [NEW] segmentation fault (core dumped)

2016-12-27 Thread Jan Stránský
Hi Amiya, thanks for the report. We will try to find the problem, but first we need a MWE, a mininal WORKING script. The one you provided ends with SyntaxError because of the first "else" statement. You can attach files to bug reports, so if you attached the script directly as a file, it would be p

Re: [Yade-dev] Frequency of documentation update

2016-11-16 Thread Jan Stránský
Ok, thanks for explanation. Jan PS: I was positively surprised, that github itself renders the .rst files nicely [1] [1] https://github.com/yade/trunk/blob/master/doc/sphinx/user.rst 2016-11-16 19:35 GMT+01:00 Anton Gladky : > 2016-11-16 17:58 GMT+01:00 Bruno Chareyre >: > > We are actually ch

[Yade-dev] Frequency of documentation update

2016-11-16 Thread Jan Stránský
Hello, some time ago, I modified tutorial by replacing L3Geom by ScGeom, the change appeared on the web very quickly. I a different commit, I updated user's manual, but the modification is not yet present.. How often is the documentation updated and/or should one do something manually to make th

[Yade-dev] [Bug 1634434] [NEW] Tutorial example script 04-periodic-simple-shear.py does not work

2016-10-18 Thread Jan Stránský
Public bug reported: limitMeanStress=-5e5 ... if stress.trace()/3.https://bugs.launchpad.net/bugs/1634434 Title: Tutorial example script 04-periodic-simple-shear.py does not work Status in Yade: New Bug description: limitMeanStress=-5e5 ... if stress.trace()/3.https://bugs.launchpad.n

Re: [Yade-dev] Block Generation, Contact Detection, Rock Bolt and Rock Lining

2016-09-27 Thread Jan Stránský
Boon > > On Tue, Sep 27, 2016 at 4:01 PM, Jan Stránský > wrote: > >> Hi Boon, >> >> What is the current situation? Did I get it correctly that you managed to >> insert your code in Yade trunk on your own? >> Is there something I can help with (sorry, I

Re: [Yade-dev] Block Generation, Contact Detection, Rock Bolt and Rock Lining

2016-09-27 Thread Jan Stránský
om the packages, as suggested by > Bruno. Now there is a compiling error in my PC, even for the fresh clean > latest checkout from trunk. Posted about that in another thread. > > > Boon > -- > *From:* Bruno Chareyre > *Sent:* Monday, September 12, 2

[Yade-dev] [Bug 1621869] [NEW] 3d postprocessing tutorial script segfaults in VTKRecorder

2016-09-09 Thread Jan Stránský
Public bug reported: A "3d postprocessing" tutorial script [1] gives segmentation fault. If I comment VTKRecorder line, everything works ok. Thanks feda [2] to indirectly find this problem [1] https://yade-dem.org/doc/tutorial-examples.html#d-postprocessing [2] https://answers.launchpad.net/yade

Re: [Yade-dev] Block Generation, Contact Detection, Rock Bolt and Rock Lining

2016-09-09 Thread Jan Stránský
Dear all, sorry for not responding, I am completely out of time until Sep 17. Then I hope I will have some time on this topic. @Boon: for the sake of clarity, could you please send once more all the files that needs to be integrated (even if you have sent them already and did not do any changes fr

Re: [Yade-dev] [Bug 1596021] Re: O.tags['params'] for 2 batchs and 1 save

2016-06-24 Thread Jan Stránský
Hi Jerome, in my opinion it is not bug nor indesirable feature. O.load should load everything what is saved, including O.tags. I think there would be plenty of situations where you define O.tags, save it and after load you want to have them. As an extreme, one may complain that after O.load, the b

[Yade-dev] [Bug 1582775] Re: ymport needs to import polyhedra_utils module

2016-05-18 Thread Jan Stránský
Thanks for reporting, it is fixed now Jan ** Changed in: yade Status: New => Fix Released -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1582775 Title: ymport needs to import polyhedra_uti

Re: [Yade-dev] Yade release, new versioning?

2016-04-19 Thread Jan Stránský
Hi Anton, I am ok with .MM. What about just YY.MM, 16.04, like Ubuntu? cheers Jan 2016-04-19 22:13 GMT+02:00 Anton Gladky : > Dear all, > > I am planning to release new Yade version soon, because > the 1.20.0 was released about 6 months ago and we have > over 120 commits now. > > Some projec

[Yade-dev] [Bug 1570679] Re: Memory leak during updating position of tetrapoly elements

2016-04-15 Thread Jan Stránský
In previous comment, I meant O.bodies[0].shape.setVertices(a[0],a[1],a[2],a[3]) O.bodies[0].shape.setVertices(a) to be consistent with original bug report -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bu

[Yade-dev] [Bug 1570679] Re: Memory leak during updating position of tetrapoly elements

2016-04-15 Thread Jan Stránský
setVertices now works without memory leaks passing each vertex as single argument O.bodies[0].shape.setVertices(b[0],b[1],b[2],b[3]) or O.bodies[0].shape.setVertices(*b) # *b in Python does internally the above code currently implemented only for 4 vertices, if needed it is easy to extend to mo

Re: [Yade-dev] Block Generation, Contact Detection, Rock Bolt and Rock Lining

2016-03-30 Thread Jan Stránský
Hi Boon, thanks for the effort also from me and sorry for late answer. What is the situation now? I can help to merge the files not to conflict with current branch, but probably not before May.. Regards Jan 2016-03-17 17:11 GMT+01:00 Chia Weng Boon : > Bruno, > > You are absolutely right in all

Re: [Yade-dev] Spam on the mailing list

2016-02-16 Thread Jan Stránský
Hi Jerome, imagine you are a new Yade user, testing it and deciding if you will use it or not, and want to ask just some basic question, and for it you have to register somewhere, waiting (possibly a few days) for approval and only after that you can ask.. It would annoy me :-) every while there i

[Yade-dev] [Bug 1476159] Re: several ForceContainer.addF behaves non-intuitively with permanent=True

2016-01-28 Thread Jan Stránský
Fixed in r4982 ** Changed in: yade Status: New => Fix Released -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1476159 Title: several ForceContainer.addF behaves non-intuitively with perma

Re: [Yade-dev] Potential Particles (DEM non-spherical particles)

2016-01-08 Thread Jan Stránský
, 2015 at 12:54 PM, chiaweng wrote: > >> Can someone advise what do i need to do to link to an external library >> with this new cmake? >> >> >> >> Sent from my Samsung Galaxy smartphone. >> Original message >> From: Anton Gladky >> Date: 16

Re: [Yade-dev] Potential Particles (DEM non-spherical particles)

2015-12-15 Thread Jan Stránský
Hello, @Chia: thanks a lot again. I asked for the files, I should take responsibility for them :-) I will start to work on it in January (no time at the end of the year) @Anton: Do you have any suggestions / link how to work with pull requests? Thanks Jan 2015-12-15 6:24 GMT+01:00 chiaweng :

Re: [Yade-dev] Potential Particles (DEM non-spherical particles)

2015-12-13 Thread Jan Stránský
Hello, @Anton: this implementation was sent mainly on my request, so probably I should be of some help.. @Chia: Thanks a lot for the effort. One option is (as already mentioned by Anton) that you send the codes to a developer/s, we will try it and somebody commits it to the trunk version. It coul

Re: [Yade-dev] Move utils for "grid and more" in separate file

2015-12-10 Thread Jan Stránský
t; (py/gridpfacet.py). Finally, I think the polyhedra stuff in utlis.py > should be > moved into polyhedra_utils.py. You agree? > > Thanks > Klaus > > On Thu, 10 Dec 2015 11:00:28 PM Jan Stránský wrote: > > Hi Klaus, > > > > 1) no problem > > 2) the logic

Re: [Yade-dev] Move utils for "grid and more" in separate file

2015-12-10 Thread Jan Stránský
Hi Klaus, 1) no problem 2) the logic is that the original author Jan Elias made polyhedra_utils.py file and then I made modifications of utils.py, adding sphere() like function for polyhedra. I was thinkink about creating special file just for different shapes (sphere, facet, polyhedra, box, wall.

[Yade-dev] Projects using Boost.Python

2015-12-02 Thread Jan Stránský
Dear boost.python developers, recently I have found "Projects using Boost.Python" page. Below are three more candidates to be mentioned in the list. WooDEM was initially a fork from Yade. Both WooDEM and Yade uses Minieigen. The descriptions of softwares is copy-pasted from their web pages. If y

[Yade-dev] SoftwareX

2015-09-17 Thread Jan Stránský
Hello all, recently I have found links bellow, might be useful for the discussion how to cite Yade in future and for newer versions. Mainly sent not to forget completely :-) cheers Jan [1] https://www.youtube.com/watch?v=l1cWoHKCBak [2] http://www.journals.elsevier.com/softwarex __

Re: [Yade-dev] [Yade-users] [Question #269724]: What are particular features of CpmMat model?

2015-07-29 Thread Jan Stránský
Hello (and sorry for late reply), in Cpm classes the approach is (if I understand correctly) the same as in JCFpm, see example code in [1]. At interaction born, all interactions are set forcesfree by default. I am quite happy with the approach, even thought you need to run one time step. cheers J

Re: [Yade-dev] [Bug 1475844] Re: Swap problem in InteractionLoop

2015-07-23 Thread Jan Stránský
This situation is partly described in [2]. I used it just in a special case: - spheres with CpmMat - facets with FrictMat - Ig2_Facet_Sphere - Ip2_FrictMat_CpmMat so Ig2 always order the particles with different shapes in order Facet-Sphere, so the materials are also ordered FrictMat-CpmMat fittin

Re: [Yade-dev] [Branch ~yade-pkg/yade/git-trunk] Rev 3705: Addition in doc of Omega.engines to state it is = to O.engines in python

2015-07-23 Thread Jan Stránský
@Bruno: O is defined a a global variable but it is just a convention. If you continued: bla = Omega() bla is O # False bla == O # False bla.engines == O.engines # True :-) # probably some consequence of defining Omega as singleton in C++ (the C++ object is the same but Python object wrapping it no

[Yade-dev] [Bug 1475844] Re: Swap problem in InteractionLoop

2015-07-22 Thread Jan Stránský
My next questions (result of not knowing the code well enough): - is asssert necessary in [1]? - why is IPhysDispatcher defined as autosymmetric (default template argument) [3]? [1] http://bazaar.launchpad.net/~yade-pkg/yade/git-trunk/view/head:/pkg/common/InteractionLoop.cpp#L116 [3] http://ba

Re: [Yade-dev] A new wiki page for educational purpose (and for the mental health of Jan)

2015-07-21 Thread Jan Stránský
Excelent :-) thanks Bruno just repeating Jerome, could it be placed somewhere in launchpad? cheers Jan 2015-07-21 23:49 GMT+02:00 Jerome Duriez : > Thank you Bruno ! > > A nice improvement would surely to put this page somewhere where people > could actually see it before asking a question. (in

[Yade-dev] [Bug 1476159] [NEW] several ForceContainer.addF behaves non-intuitively with permanent=True

2015-07-20 Thread Jan Stránský
Public bug reported: Hi all, consider O.forces.addF(id,(2,0,0),True) ... # some code, a few steps or whatever O.forces.addF(id,(4,0,0),True) what should be the result? Intuitively (according to addF name), I would expect applied force (6,0,0). However, the permanent force is rewritten with (4,0

[Yade-dev] [Bug 1475844] [NEW] Swap problem in InteractionLoop

2015-07-18 Thread Jan Stránský
Public bug reported: When you use two different shapes and two different materials, it might happen that IntreactionLoop ends with error [1]. It is because the interaction might be swapped in IGeom stage (ok) and in IPhys stage (see also the comment in [1], but in reality Ip2 can by non-symmetric)

[Yade-dev] Projects using boost.python

2015-07-02 Thread Jan Stránský
Hello all, just found this page, wouldn't be nice for Yade to be mentioned? :-) cheers Jan http://www.boost.org/doc/libs/1_49_0/libs/python/doc/projects.html ___ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@lists.launchpad.net Uns

Re: [Yade-dev] Could you please fix warnings in Flow and ConcretePM ?

2015-05-18 Thread Jan Stránský
t,lenPe,NaN,Attr::readonly,"Peri3dController internal >> variable")) >> - ((int,lenPs,NaN,Attr::readonly,"Peri3dController internal >> variable")) >> + ((int,lenPe,,Attr::readonly,"Peri3dController internal >> variable"

Re: [Yade-dev] Inspecting authors for next doc release

2015-03-05 Thread Jan Stránský
Hi Bruno, I committed code from Jan Eliáš twice [1,2]. In both cases, the documentation is from source code in both cases. cheers Jan [1] http://bazaar.launchpad.net/~yade-pkg/yade/git-trunk/revision/3362.10.49 [2] http://bazaar.launchpad.net/~yade-pkg/yade/git-trunk/revision/3362.10.291 2015-0

[Yade-dev] [Bug 1427380] Re: Inertia calculation is not correct for box bodies!

2015-03-04 Thread Jan Stránský
** Changed in: yade Status: New => Fix Released -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1427380 Title: Inertia calculation is not correct for box bodies! Status in Yet Another Dynami

Re: [Yade-dev] (moved to yade-dev) Interaction of FrictMat and a new class of material

2015-02-21 Thread Jan Stránský
cking is already done by dispatcher. Is goReverse called in one > of the cases? > I'm asking that because I'm not really sure if goReverse works as > expected. If not we better remove it. > Cheers. > Bruno > > On Saturday, February 21, 2015 00:21 CET, Jan Stránský < >

Re: [Yade-dev] [Bug 1420248] [NEW] number minimal of argument for export data

2015-02-10 Thread Jan Stránský
Hi Alexander, the problem is hidden in python syntax. The 'attrs' argument should be a list or tuple. So if you use export.textExt('../../tmp/data_export_melangeur.txt',format='x_y_z_r_attrs',attrs=(' b.mat.id',)) # notice the comma, making ('b.mat.id',) actually a tuple, (' b.mat.id') is just on

[Yade-dev] [Bug 1417080] Re: Clump::updateProperties results in NaNs for non-spherical particles

2015-02-07 Thread Jan Stránský
** Changed in: yade Status: New => Fix Released -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1417080 Title: Clump::updateProperties results in NaNs for non-spherical particles Status in Y

[Yade-dev] [Bug 1417080] [NEW] Clump::updateProperties results in NaNs for non-spherical particles

2015-02-02 Thread Jan Stránský
Assignee: Jan Stránský (honzik) Status: New -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1417080 Title: Clump::updateProperties results in NaNs for non-spherical particles Status in Yet

Re: [Yade-dev] [Bug 1400075] Re: O.forces.addMove does not work

2014-12-19 Thread Jan Stránský
Hi Vaclav, yes, NewtonIntegrator is in O.engines by default if you do not change it.. Jan 2014-12-19 16:57 GMT+01:00 Václav Šmilauer : > Hi, the code was always working, and still should be, in > NewtonIntegrator.pp:208 (and 2 other lines for rotations) I read > >if (scene->forces.getMoveRot

[Yade-dev] [Bug 1400075] [NEW] O.forces.addMove does not work

2014-12-07 Thread Jan Stránský
Public bug reported: Hi, I tried O.forces.addMove to apply displacement to a particle, but the method seems not to work.. b = sphere((0,0,0),1) O.bodies.append(b) O.forces.addMove(0,(1,0,0)) print b.state.pos # (0,0,0) O.step() print b.state.pos # is (0,0,0) again... Is this behavior ok, do I d

[Yade-dev] Google summer of code 2015

2014-10-13 Thread Jan Stránský
Hello all, Google summer of code 2015 has been announced [1]. It might be interested for Yade developers. I personally have no experience and no extra knowledge about the project, but at first glance it looks interesting :-) cheers Jan [1] http://www.google-melange.com/gsoc/homepage/google/gsoc2

Re: [Yade-dev] [Bug 1380103] [NEW] memory leak?

2014-10-11 Thread Jan Stránský
Hello, please always attach a minimal working script reproducing the error. Thanks Jan Dne 11.10.2014 16:40 "Sway" napsal(a): > Public bug reported: > > YADE version:1.11.1 > I simulated a packing with Polyhedra shape recently. When running about > 50,000 steps, a bug occurred casting informati

[Yade-dev] [Bug 1376734] Re: wrong vtk output for boxes

2014-10-07 Thread Jan Stránský
Hi Christian, I deleted that output, the problem was that the output is 6 faces of the box instead of one body, which I did not realized.. fixed in r4180. cheers Jan 2014-10-07 8:02 GMT+02:00 Christian Jakob <1376...@bugs.launchpad.net>: > Hi Jan, > > I tested the output for facets, and it is o

Re: [Yade-dev] [Bug 1376734] [NEW] wrong vtk output for boxes

2014-10-02 Thread Jan Stránský
Hi Christian, it really seems like my fault.. could you please attach a simple script producing vtk with boxes so I (or anybody else) can try it? I would fix it next week.. Cheers Jan Dne 2.10.2014 14:40 "Christian Jakob" <1376...@bugs.launchpad.net> napsal(a): > Public bug reported: > > Hi, > >

[Yade-dev] [Bug 1370736] [NEW] Outdated docs of LawFunctor in programmer's manual

2014-09-17 Thread Jan Stránský
Public bug reported: In Programmer's manual, there is still InteractionContainer::requestErase(id1,id2), while an information about returning true/false should be there instead (?) I am not very sure in this area to confirm and correct myself.. cheers Jan ** Affects: yade Importance: Undec

Re: [Yade-dev] Body::groupMask could be unsigned int

2014-06-17 Thread Jan Stránský
suggestions Cheers Jan 2014-06-06 13:12 GMT+02:00 Jan Stránský : > Hi Anton, > Do you mean to replace boost::python::long_ by groupMask_t? > if BODY_GROUP_MASK_ARBITRARY_PRECISION is defined, both argument types (int > and bp::long_) are needed.. > cheers > Jan > > > 2014-

Re: [Yade-dev] Body::groupMask could be unsigned int

2014-06-06 Thread Jan Stránský
Hi Anton, Do you mean to replace boost::python::long_ by groupMask_t? if BODY_GROUP_MASK_ARBITRARY_PRECISION is defined, both argument types (int and bp::long_) are needed.. cheers Jan 2014-06-06 13:07 GMT+02:00 Anton Gladky : > 2014-06-06 10:47 GMT+02:00 Jan Stránský : > > I am soory,

Re: [Yade-dev] Body::groupMask could be unsigned int

2014-06-06 Thread Jan Stránský
Hi Anton, thanks for the feedback. > > 1) Please, add an option to CMakeLists, it can be a "feature" probably, > disabled by default. There are a lot of examples there. > ok, before I will properly test it :-) > > 2) [2] > + bool maskOk(int mask) const {return (mask==0 || (bool)(groupMas

Re: [Yade-dev] Body::groupMask could be unsigned int

2014-06-01 Thread Jan Stránský
" should do thinks well. > > [1] > https://github.com/yade/trunk/blob/master/pkg/dem/NewtonIntegrator.hpp#L79 > > Best regards > > Anton > > > 2014-05-26 20:54 GMT+02:00 Jan Stránský : > > Hello, > > > > currently I am running out of size of grou

[Yade-dev] Body::groupMask could be unsigned int

2014-05-26 Thread Jan Stránský
Hello, currently I am running out of size of groupMask (I would need more bits), so I am planning to introduce optional compilation with some larger type. Anyway, even the size is the same, working with the full range of unsigned int bitmask is much more natural than standard signed int. Would an

Re: [Yade-dev] [Bug 1318513] Re: utils.calm() calms only spheres and clumps

2014-05-16 Thread Jan Stránský
I left mask parameter for the purpose of slecting bodies to calm and modified documentation of the function (the original version mentioned, that the function calms all bodies, which was the source of my confusion). Thanks for discussion Jan 2014-05-12 12:06 GMT+02:00 Jan Stránský : > Ok

Re: [Yade-dev] [Bug 1318513] Re: utils.calm() calms only spheres and clumps

2014-05-12 Thread Jan Stránský
Ok, I will think about it and implement something in 2 weeks. If you wanted to do something earlier, feel free to modify it. cheers Jan 2014-05-12 11:30 GMT+02:00 Anton Gladky <1318...@bugs.launchpad.net>: > Well, we have mask-parameter there, which is also relatively > flexible. But includeList

Re: [Yade-dev] [Bug 1318513] Re: utils.calm() calms only spheres and clumps

2014-05-12 Thread Jan Stránský
Hi Bruno, this also came to my mind, but one if somebody prescribe a bc for spheres, current calm function overwrite it anyway.. The function skip non-dynamic bodies. Thanks Jan 2014-05-12 9:58 GMT+02:00 Bruno Chareyre <1318...@bugs.launchpad.net>: > I don't see a real reason to not calm other s

[Yade-dev] [Bug 1318513] [NEW] utils.calm() calms only spheres and clumps

2014-05-12 Thread Jan Stránský
Public bug reported: Fix is very easy, I just wanted to know opinion of other devs (e.g. if there is a reason I missed) ** Affects: yade Importance: Low Status: New ** Summary changed: - utils.caml() calms only spheres and clumps + utils.calm() calms only spheres and clumps -- Y

[Yade-dev] [Bug 1300167] Re: (Not) Defining velocities in UniaxialStrainer ?

2014-04-01 Thread Jan Stránský
** Changed in: yade Assignee: (unassigned) => Jan Stránský (honzik) -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1300167 Title: (Not) Defining velocities in UniaxialStrainer ? Status

Re: [Yade-dev] [Bug 1300167] Re: (Not) Defining velocities in UniaxialStrainer ?

2014-03-31 Thread Jan Stránský
Hi Bruno, > This engine has been introduced before effective integration of python. > Is it doing something that can't be done with python? > despite this fact, you can just use one line in your python script in O.engines instead of defining your own function and call it in PyRuuner.. It is true

Re: [Yade-dev] Yade Workshop in Grenoble

2014-03-04 Thread Jan Stránský
I hope I will be there too :-) Jan 2014-02-25 9:51 GMT+01:00 Bruno Chareyre : > Dear all, > > This message is to announce the > > 1st YADE Workshop(*), in Grenoble, july 7 to july 9, 2014. > > The main objective is to gather people interested in DEM-related > developments, to discuss

[Yade-dev] [Bug 1241817] Re: yade batch mode fails

2013-11-06 Thread Jan Stránský
Changed error message according to Nolan's suggestion in rev 3748 ** Changed in: yade Status: New => Fix Released -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1241817 Title: yade batch mo

Re: [Yade-dev] [Bug 1241817] [NEW] yade batch mode fails

2013-10-18 Thread Jan Stránský
Hello Nolan, try to run yade-batch without GUI, i.e. without from yade import qt and let us know cheers Jan 2013/10/18 Nolan Dyck > Public bug reported: > > when I try to run yade in batch mode it always fails, giving the error > in a log file: > > Welcome to Yade 2013-10-16.git-fe8b27e > TCP

Re: [Yade-dev] [Branch ~yade-pkg/yade/git-trunk] Rev 3705: Explicitly link ZLIB-library

2013-10-09 Thread Jan Stránský
Hi Anton with libbz2-dev there is no problem. Thanks Jan 2013/10/9 Anton Gladky > Could you, please, install libbz2-dev and let me know? > > Thanks > > Anton > > > 2013/10/9 Jan Stránský : > > Hi Anton, > > > > I cloned yade from the scratch, but whe

Re: [Yade-dev] [Branch ~yade-pkg/yade/git-trunk] Rev 3705: Explicitly link ZLIB-library

2013-10-09 Thread Jan Stránský
Hi Anton, I cloned yade from the scratch, but when running cmake, following error ocure: CMake Error at /home/honzik/programs/cmake-2.8.10.2-Linux-i386/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (message): Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR) Cal

Re: [Yade-dev] "About tetra elements and their contact algorithms usability in deformable tetra elements"

2013-09-23 Thread Jan Stránský
Hello Burak, the current tetra contact algorithm is implemented by myself, but it was a bit quick work and I am a bit afraid that there are some cases the algorithm would not work (ar at least not properly). Anyway I think it is possible to use it at least as a starter. If you know contact forces

Re: [Yade-dev] undefined symbol: mpfr_init2

2013-08-27 Thread Jan Stránský
Hi Bruno and Anton, thanks for the answers. @Bruno: I will try it. I am using Polyhedron_3 and Nef_polyherdon_3. As a kernel I use Exact_predicates_exact_constructions_kernel, I also tried Cartesian (did not help) and Exact_predicates_inexact_constructions_kernel (compilation error).. @Anton: Ub

[Yade-dev] undefined symbol: mpfr_init2

2013-08-27 Thread Jan Stránský
Hello, I tried to modify Tetra class with CGAL. The compilation was without any problem, but after starting yade, following error ocured (even after cmake completely from scratch). Traceback (most recent call last): File "/home/honzik/bin/yade-trunk", line 115, in import yade File "/home

[Yade-dev] eigen2

2013-08-23 Thread Jan Stránský
Hello, according to question #233320, I am correcting the code to compile without errors with WUAD_PRECISION defined. I touched also some parts, whrer there is eigen3/eigen2 split. I am using eigen3 (with which I can make all tests etc.). Before pushing these changes, I would like to ask, If I sho

[Yade-dev] git pull-commit-push

2013-08-13 Thread Jan Stránský
Hi guys, just not to mess up things again, I have a short question. According to the wiki, I set git config --global branch.autosetuprebase always did some modification of the code, and run git pull with "Please, commit your changes or stash them before you can merge. Aborting" result. What is the

[Yade-dev] [yade/trunk] 0bab9e: midified exporter.VTKExporter for correct interact...

2013-07-10 Thread Jan Stránský
Branch: refs/heads/master Home: https://github.com/yade/trunk Commit: 0bab9e93603ecd523946bd17b562073a3b4a67b4 https://github.com/yade/trunk/commit/0bab9e93603ecd523946bd17b562073a3b4a67b4 Author: Jan Stránský Date: 2013-07-10 (Wed, 10 Jul 2013) Changed paths: M

Re: [Yade-dev] [yade/trunk] 7cba6c: export.VTKExporter improvement (intaractions expor...

2013-07-09 Thread Jan Stránský
Hi Anton, sorry, I haven't seen these aspects (although they are clear and logical :-). I hope, that what I added now won't break anything (it is only python interface). Anyway I will contact Vaclav and add those new features to his project. cheers Jan __

[Yade-dev] [yade/trunk] 7cba6c: export.VTKExporter improvement (intaractions expor...

2013-07-09 Thread Jan Stránský
Branch: refs/heads/master Home: https://github.com/yade/trunk Commit: 7cba6c516ebf9503a94c303a3854297e7d903d7b https://github.com/yade/trunk/commit/7cba6c516ebf9503a94c303a3854297e7d903d7b Author: Jan Stránský Date: 2013-07-09 (Tue, 09 Jul 2013) Changed paths: M

[Yade-dev] YADE_CLASS... macros and variables exluded from documentation

2013-07-08 Thread Jan Stránský
Hello, is it possible to have a variable in YADE_CLASS_.. macros in ATTRS section, but not have it in the documentation? Thanks Jan ___ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@lists.launchpad.net Unsubscribe : https://launchpa

[Yade-dev] [yade/trunk] 0d7969: Improved documentation about O.load and O.save, mo...

2013-06-20 Thread Jan Stránský
Branch: refs/heads/master Home: https://github.com/yade/trunk Commit: 0d796947ba8b2514ab7bf1aae2fc39961174af1b https://github.com/yade/trunk/commit/0d796947ba8b2514ab7bf1aae2fc39961174af1b Author: Jan Stránský Date: 2013-06-20 (Thu, 20 Jun 2013) Changed paths: M py

[Yade-dev] Facets with forces information in vertices

2013-06-11 Thread Jan Stránský
Dear Yade developers, I would like to have information of forces in individual vertices of facets. It should not be very difficult (class Facet would be changed and related igeom functors), but I would like to ask, if you prefere to include it in current Facet class, or if I should create new clas

Re: [Yade-dev] [Bug 1175574] [NEW] spherePacking warning pack.randomDensePack

2013-05-02 Thread Jan Stránský
Hi Eugen, randomDensePack calls TriaxialTest internally [1], which calls TriaxialCompressionEngine internally [2], which is deprecated. So, as the warning says, it should be replaced by TriaxialStressController. I have no time to do it now, but this information may be useful for other people willi

Re: [Yade-dev] [Bug 1175574] Re: spherePacking warning pack.randomDensePack

2013-05-02 Thread Jan Stránský
Hi Eugen, Following [1] it is possible to save created packings in a database. This > way they will be taken from there if the same packing shall be created > again. > For using this you need to set 'memoizeDb' to the name (path) of the > database. > Obviously [2] this only works for spheresInCel

Re: [Yade-dev] [Bug 1174749] Re: Controller Engines -> Engine count starts at 0 instead of 1

2013-04-30 Thread Jan Stránský
Ok, sorry, I missed that the bug is related to qt.Contorller, thanks for the information :-) Jan 2013/4/30 Eugen Kubowsky <1174...@bugs.launchpad.net> > Hi Jan, > please have a look at the screenshot I attached. > I missed referencing it in the bug repot, sorry. > In ipython you get the right va

  1   2   >