> The problem I see is that I can keep the number of cells roughly in
> the same order in a single adaption without a problem. But when I run
> a time dependent problem over a long time interval with thousands of
> adaption steps, the number of cells can easily change a lot.

I don't have much of a solution, though I have a question: if you use the 
existing functions with the additional argument, you should be able to make 
sure that the number of cells never drops below a certain threshold. And 
while the function doesn't *guarantee* this number, it probably shouldn't 
create more than, say, 20% more cells than you wanted.  So, if for example 
you set the refinement threshold to 30% and the coarsening threshold to 70%, 
shouldn't you always get meshes that are at most 20% over the limit, 
uniformly over all time steps?

Cheers
 W.

-- 
-------------------------------------------------------------------------
Wolfgang Bangerth                email:            [email protected]
                                 www: http://www.math.tamu.edu/~bangerth/

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to