Skip to content
Snippets Groups Projects
Commit 3ddd265e authored by Oliver Sander's avatar Oliver Sander
Browse files

Added a dummy method for reading 2d-grids with a parametrized boundary.

There is currently no way to store 2d parametrizations in AmiraMesh,
thus the method simply throws an exception.  But at least this methods
exists and can be compiled now.

[[Imported from SVN: r3764]]
parent 045600c9
Branches
Tags
No related merge requests found
......@@ -81,6 +81,23 @@ namespace Dune {
static void read(UGGrid<2,2>& grid,
const std::string& filename);
/** \brief Dummy method: read a grid together with a boundary parametrization
This method is the equivalent to the one in the 3,3-instantiation. You
cannot currently store 2d parametrized boundaries in an AmiraMesh file.
Thus, the methods only throws an exception. It is only here to avoid
compiler errors.
\param grid The grid to be read into
\param gridFilename The AmiraMesh file containing the grid
\param domainFilename The AmiraMesh file containing the boundary description
*/
static void read(UGGrid<2,2>& grid,
const std::string& gridFilename,
const std::string& domainFilename) {
DUNE_THROW(NotImplemented, "No AmiraMesh-reading for 2d parametrized boundaries!");
}
};
} // end namespace Dune
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment