← Back to team overview

yade-dev team mailing list archive

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

 

Hi Jan,

> 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..

I maybe don't understand what it does, but why a PyRunner?
What is missing in this two-liner:
for b in block1: b.state.blockedDOFs=xyzXYZ; b.state.vel=vel
for b in block2: b.state.blockedDOFs=xyzXYZ; b.state.vel=-vel

>> correct, but as more than one person may use it (me for example :-), it
>> does not matter if it is written in c++ or rewritten to python (somebody
>> would maintain it, test it, ask questions on mailing lists...)
You may use it only after fixing. For now we are compiling and
distributing broken code (I hope nobody is using it).
Removing from trunk is not a hard decision. Everything is kept in git,
it can be restored and fixed later.
If you plan to fix soon, we can of course keep it, else it is better to
remove IMO.

Cheers.

Bruno



References