Timo,
> So, what are you using and do you have any advice for me? Surely,
> someone had a similar problem already? :-)
GridRefinement::refine_and_coarsen_fixed_{number,fraction} have a trailing
defaulted argument that specifies a maximum number of cells. It doesn't
always hit the target exactly but at least it allows you to specify that it
shouldn't refine cells above just because they are above a certain threshold.
It stops when the number of projected cells is above the given maximum.
Best
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
www: http://www.math.tamu.edu/~bangerth/
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii