2018-05-23 9:21 GMT-04:00 'Maxi Miller' via deal.II User Group < [email protected]>:
> Assumed I would like to move this cylinder such that the symmetry axis is > at y = 0.5 with a radius of 0.5 and a x range from 0 to 1, is it then still > possible to first create the cylinder with > cylinder(triangulation, 0.5, 0.5) and then apply a transformation for > moving it? That would make the integration into my program significantly > easier. > Sure there is a function to rotate <http://dealii.org/9.0.0/doxygen/deal.II/namespaceGridTools.html#aa7ea00f2009014a52520c05beadc78b6> the triangulation and another one <http://dealii.org/9.0.0/doxygen/deal.II/namespaceGridTools.html#a4b953611883979e3f920f800bd855df3> to shift the position of the triangulation so you can move the triangulation where you want it to be. You can also take a look here <http://dealii.org/9.0.0/doxygen/deal.II/step_49.html#grid_5DemonstratingGridToolstransformpart1> . Best, Bruno -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
