[aspect-devel] Visualizing actual solution

Wolfgang Bangerth bangerth at tamu.edu
Fri Oct 30 10:15:31 PDT 2015


On 10/30/2015 11:43 AM, Jonathan Perry-Houts wrote:
> Huh, is there a way one could also "coarsen" a cell in the
> visualization? This could make a nice option in the Visualization
> postprocessor ("Refinement level of visualization") or something like that.

Yes, one just needs to derive a class from DataOut and then overload the 
first_cell/next_cell() functions to iterate over (now possibly inactive) 
cells that do not exceed a certain refinement level. This may not work 
on parallel triangulations, though, unless you make sure that all 
children of that cell are locally owned.

Best
  W.

-- 
------------------------------------------------------------------------
Wolfgang Bangerth               email:            bangerth at math.tamu.edu
                                 www: http://www.math.tamu.edu/~bangerth/



More information about the Aspect-devel mailing list