Hi Bruce,

Yes there is, its called GridTools::scale 
<https://www.dealii.org/developer/doxygen/deal.II/namespaceGridTools.html#a0967563badadd81f77f62622dd8bc2cd>.
 
If you want to don't want to physically modify the grid again just for the 
purpose of writing it out after postprocessing, you could always create 
your own mapping 
<https://www.dealii.org/8.4.0/doxygen/deal.II/classMappingQEulerian.html> 
that does the scaling. In step-44 
<https://www.dealii.org/developer/doxygen/deal.II/step_44.html#Solidoutput_results>,
 
an Eularian map is created to output the solution in the spatial 
configuration while all calculations are done in the material configuration.

Regards,
J-P

On Wednesday, August 3, 2016 at 6:56:49 PM UTC+2, bjpalme...@gmail.com 
wrote:
>
> Is there a simple function that can be used to scale the coordinates in a 
> DEAL II triangulation? I want something that would allow you to change 
> coordinates to cm if the file your are reading from is using microns. Also, 
> it might be nice to convert back to microns before trying to export 
> results. If there is no function to do this directly, is there an iterator 
> over vertices or something similar that could be used to create the 
> capability?
>
> Bruce
>

-- 
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 dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to