| Thread Previous • Date Previous • Date Next • Thread Next |
Hi (Vaclav)I'm trying to update relative velocity in ScGeom so that it returns the correct shear increment in the periodic case, hoping I'm in the good direction in order to merge some parts with Dem3Dof one day. I also changed updateShearForce to rotateAndGetShear (it does almost the same, except that the last "fs+=..." line is moved to Law2.
Problem, I need to access : scene->cell->isPeriodic, scene->cell->velgrad, and scene->cell->Hsize from inside Ig2.
Currently, Ig2's don't have the scene pointer. Is it imposed by design? Should I better pass all three parmeters to rotateAndShear?
Thanks for advices. Bruno -- _______________ Bruno Chareyre Associate Professor 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 ________________
| Thread Previous • Date Previous • Date Next • Thread Next |