svg output is not implemented in 3 dimensions. You should output the grid using 
vtk (or gmsh), so 

write_vtk

instead of 

write_svg

and open the resulting mesh with paraview/visit/ and/or gmsh.

L.

> On 22 Jan 2021, at 11:20, Vinayak Vijay <[email protected]> wrote:
> 
> I tried to play with step-1 by simply changing the Triangulation dim from 2 
> to 3. However, I got the following error:
> 
> An error occurred in line <1539> of file 
> </home/ubuntu/deal.II/dealii/source/grid/grid_out.cc> in function
>     void dealii::GridOut::write_svg(const dealii::Triangulation<dim, 
> spacedim>&, std::ostream&) const [with int dim = 3; int spacedim = 3; 
> std::ostream = std::basic_ostream<char>]
> The violated condition was: 
>     false
> 
> Could someone highlight what I am missing to do here?
> Thanks, Vinayak
> 
> -- 
> 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/9670e5a7-e7b4-460e-9aa3-a5ef72ba1a65n%40googlegroups.com.

-- 
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/929F839E-652B-4268-9049-405CEF625488%40gmail.com.

Reply via email to