Hello Stephane,
to refine a grid it suffices to use
triangulation.refine_global (x);
where x is an integer.
Best Regards,
Markus
Am 24.09.10 09:03, schrieb veys:
Ok, thank you Timo :)
So I think that if I want to refine a mesh I don't have to use
GridGenerator::cylinder_shell isn't it ?
But just use
int z=2;
CylinderBoundary<dim> inner_cylinder (inner_radius_value, z);
CylinderBoundary<dim> outer_cylinder (outer_radius_value, z);
to adapt correctly the shape of my mesh (?)
The first thing to try is to run the code in debug mode (and run in
gdb if that doesn't help). My guess is that your triangulation is not
empty when you are calling this function.
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii