On 23 January 2011 20:19, Bruno Chareyre <[email protected]> wrote:
> . > > I think it is possible, but in my previous post I missed to say that one > should also set the new reference size to the current one (at the moment in > which trsf is set equal to identity). Hence, given what setTrsf() does, this > should be safe also with the new method. Would you confirm? > > > I didn't think about that. Indeed, it should work (did somebody try?), > At least this is what I am doing and it seems to work well. > but only if everything is axis aligned. For simple shear, it would not > work. > Perhaps something similar can be done with Hsize after last changes : > tempHSize = Hsize > trsf = identity > Hsize = tempHSize > > This means one has to undo manualy what "trsf=" is doing silently. Not > really intuitive... > Perhaps not so much but can you really uncouple trsf and refSize or Hsize? The method you introduced is going to be quite flexible and I hope that using the same method for the new reference state work. I will try it anyway. Chiara > Bruno > > > > > Chiara > >> >> > 2) As for the new method which would use hSize, why this would not be >> > possible? Could you explain me better, please? >> > >> In all cases, setting trsf=Id would undeform the cell back to the >> initial Hsize, be it an axis-aligned Hsize (old) or non-aligned (new). >> You can have a look at what Cell::setTrsf is doing. >> >> Cheers. >> >> Bruno >> >> >> _______________________________________________ >> Mailing list: >> https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev> >> Post to : [email protected] >> Unsubscribe : >> https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev> >> More help : https://help.launchpad.net/ListHelp >> > > > _______________________________________________ > Mailing list: https://launchpad.net/~yade-dev > <https://launchpad.net/%7Eyade-dev> > Post to : [email protected] > Unsubscribe : https://launchpad.net/~yade-dev > <https://launchpad.net/%7Eyade-dev> > More help : https://help.launchpad.net/ListHelp > > > > -- > _______________ > Bruno Chareyre > Associate Professor > ENSE³ - Grenoble INP > Lab. 3SR > BP 53 - 38041, Grenoble cedex 9 - France > Tél : +33 4 56 52 86 21 > Fax : +33 4 76 82 70 43 > ________________ > > > _______________________________________________ > Mailing list: > https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev> > Post to : [email protected] > Unsubscribe : > https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev> > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp

