diff --git a/dune/gfe/cosseratvtkwriter.hh b/dune/gfe/cosseratvtkwriter.hh index 0c859a4279fd6a3210c4b240aab0e482bab7d2f8..e9cbbca52d25499fc9ab61928abb25d5f7737667 100644 --- a/dune/gfe/cosseratvtkwriter.hh +++ b/dune/gfe/cosseratvtkwriter.hh @@ -440,7 +440,10 @@ public: // We only do P2 spaces at the moment if (order != 2) - abort(); + { + std::cout << "Warning: CosseratVTKWriter only supports P2 spaces -- skipping" << std::endl; + return; + } std::string fullfilename = filename + ".vtu";