Good afternoon,

I am using the following function to create a mesh of a rectangle 2x1x1m

GridGenerator::hyper_rectangle(triangulation,Point<dim>(0,0,0),Point<dim>(2,1,1),false
 
); 
triangulation.refine_global(2);

This code generates. rectangle with 4 cells per direction. How can I 
perform a refinement so that I get more elements at the long dimension of 
the rectangle, for example 8 cells? I can not find a function to determine 
the number of refinements per direction. Could you please help me?

Thank you
Regards, 


-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/acb9609a-fec3-4f20-b0bd-fdf16c96c1d0n%40googlegroups.com.

Reply via email to