]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix confusion about dim and spacedim 4660/head
authorRene Gassmoeller <rene.gassmoeller@mailbox.org>
Tue, 25 Jul 2017 22:11:35 +0000 (16:11 -0600)
committerRene Gassmoeller <rene.gassmoeller@mailbox.org>
Tue, 25 Jul 2017 22:11:35 +0000 (16:11 -0600)
source/base/data_out_base.cc

index 7bdb0a58d7c6dc215765e9f68917ee587063867a..1e4f71f44f525a70fba0754fd2c7bd47b0ff52d5 100644 (file)
@@ -6542,7 +6542,7 @@ create_xdmf_entry (const DataOutBase::DataOutFilter &data_filter,
   (void)comm;
   AssertThrow(false, ExcMessage ("XDMF support requires HDF5 to be turned on."));
 #endif
-  AssertThrow(dim == 2 || dim == 3, ExcMessage ("XDMF only supports 2 or 3 dimensions."));
+  AssertThrow(spacedim == 2 || spacedim == 3, ExcMessage ("XDMF only supports 2 or 3 space dimensions."));
 
   local_node_cell_count[0] = data_filter.n_nodes();
   local_node_cell_count[1] = data_filter.n_cells();

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


Typeset in Trocchi and Trocchi Bold Sans Serif.