In particular, move it to the .h file so that it is visible to user programs.
DEAL_II_NAMESPACE_OPEN
+/**
+ * An exception that is thrown whenever the edges of a mesh are not
+ * orientable.
+ */
+DeclExceptionMsg (ExcMeshNotOrientable,
+ "The edges of the mesh are not consistently orientable.");
/**
{
namespace GridReordering2d
{
- DeclExceptionMsg (ExcMeshNotOrientable,
- "The edges of the mesh are not consistently orientable.");
-
/**
* A simple data structure denoting an edge, i.e., the ordered pair
* of its vertex indices. This is only used in the is_consistent()
{
internal::GridReordering2d::reorient(cells);
}
- catch (const internal::GridReordering2d::ExcMeshNotOrientable &)
+ catch (const ExcMeshNotOrientable &)
{
// the mesh is not orientable. this is acceptable if we are in 3d,
// as class Triangulation knows how to handle this, but it is
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams