Sir,

Yes. It then allows non-uniform slicing along z-axis.

Also, I am wondering if you guys are interested in making triangulation 
based on a basic one for repeated structure as shown in the attachment. I 
have to do this for my project but didn't find a function so I did 
something like copy->shifting->merging->extruding (if 3D). I think it would 
be cool to have this in deal.II.

You have any instruction on how to make contribution?

Weixiong

在 2018年4月4日星期三 UTC-7下午1:47:37,Wolfgang Bangerth写道:
>
> On 04/04/2018 02:40 PM, Weixiong Zheng wrote: 
> > 
> > I found out there is not a function for extruding triangulation by exact 
> > position of cell vertices along z-axis. So I wrote a piece of code by 
> > modifying 
> > | 
> > GridGenerator::extrude_triangulation. 
> > | 
> > The attachment is an example of what it does. 
> > 
> > Did for my own needs. Just wonder if I can contribute to deal.II with 
> > this super trivial work. Never mind if it's too trivial to put it in 
> > deal.II or someone else if already doing similar work. 
>
> Any contribution is much appreciated! 
>
> If I understand correctly, you just generalize the second and third 
> arguments of the existing function 
>
>    void 
>    extrude_triangulation (const Triangulation<2, 2> &input, 
>                           const unsigned int         n_slices, 
>                           const double               height, 
>                           Triangulation<3,3>        &result); 
>
> ? I can totally see how that makes sense! 
>
> Best 
>   W. 
>
>
> -- 
> ------------------------------------------------------------------------ 
> Wolfgang Bangerth          email:                 bang...@colostate.edu 
> <javascript:> 
>                             www: http://www.math.colostate.edu/~bangerth/ 
>

-- 
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 dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to