GridOut::write_svg(const Triangulation<dim, spacedim> &,
std::ostream & /*out*/) const
{
- Assert(false, ExcNotImplemented());
+ Assert(false,
+ ExcMessage("Mesh output in SVG format is not implemented for anything "
+ "other than two-dimensional meshes in two-dimensional "
+ "space. That's because three-dimensional meshes are best "
+ "viewed in programs that allow changing the viewpoint, "
+ "but SVG format does not allow this: It is an inherently "
+ "2d format, and for three-dimensional meshes would "
+ "require choosing one, fixed viewpoint."
+ "\n\n"
+ "You probably want to output your mesh in a format such "
+ "as VTK, VTU, or gnuplot."));
}
}
+
template <>
void
GridOut::write_mathgl(const Triangulation<1> &, std::ostream &) const
}
+
template <int dim, int spacedim>
void
GridOut::write_mathgl(const Triangulation<dim, spacedim> &tria,