On 11/30/20 8:33 AM, Kaushik Das wrote:
I may be able to write some geometric criteria to figure out which cells need
coarsening. But I am hoping there is a faster method to do this because there
must be some way to know which cells got refined and by how much and just
coarsen them again.
Not really. You'd have to save this information yourself somehow. The way to
do that would be like you do it now, but *after* you call
triangulation.prepare_coarsening_and_refinement() because then also those
cells that will be refined for mesh smoothing purposes will be correctly flagged.
But in the end, you should refine based on where the solution allows it, not
because the laser spot has moved on. Do it automatically, in a way like we do
in step-26, for example.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/b0e798b9-bf73-a3a3-d8d0-7f7d9783d274%40colostate.edu.