I would like to use a temporary triangulation, in order to keep the 
triangulation I am working on untouched. Is there a way to copy the 
triangulation (defined as parallel::distributed::Triangulation) to a 
temporary triangulation? According to 
http://www.dealii.org/developer/doxygen/deal.II/classparallel_1_1distributed_1_1Triangulation.html
 
there is no way to do that directly, is that correct? 
Or is it more efficient to scale the original triangulation, write the 
data, and re-scale it?

Am Mittwoch, 2. Mai 2018 19:19:36 UTC+2 schrieb Wolfgang Bangerth:
>
> On 05/02/2018 02:36 AM, 'Maxi Miller' via deal.II User Group wrote: 
> > When rewriting the equation into a unitless equation, I also scale the 
> > area size onto a square defined by p1_u and p2_u. That means that I have 
> > to rescale it back to the original size when doing a gradient 
> > calculation, when doing a calculation for a function depending on the 
> > position, and when printing it (same as for all variables). I can do the 
> > first and the second part, but not the third part (rescaling before 
> > printing), after my triangulation is defined on the unitless square from 
> > (0, 0) to (1, 1), instead on the rectangle from (x0, y0) to (x1, y1). 
>
> At least for the purposes of visualization, you can do the scaling in 
> the visualization software. I know Visit supports this, and Paraview 
> almost certainly does as well. It's also easy to do in gnuplot. 
>
> Alternatively, you can scale the triangulation upon which everything is 
> based using the tools in namespace GridTools. 
>
> Best 
>   W. 
>
> -- 
> ------------------------------------------------------------------------ 
> Wolfgang Bangerth          email:                 [email protected] 
> <javascript:> 
>                             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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to