]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix some minor bugs 4651/head
authorRene Gassmoeller <rene.gassmoeller@mailbox.org>
Mon, 24 Jul 2017 22:17:15 +0000 (16:17 -0600)
committerRene Gassmoeller <rene.gassmoeller@mailbox.org>
Mon, 24 Jul 2017 22:17:15 +0000 (16:17 -0600)
include/deal.II/base/data_out_base.h
source/base/data_out_base.inst.in

index 7f4424663ceca724b1ca06897000a2cd8b3b8035..4ef9c09ad14a89019cf2833b16ada918676d55d6 100644 (file)
@@ -2905,43 +2905,43 @@ private:
   /**
    * Whether this entry is valid and contains data to be written.
    */
-  const bool valid;
+  bool valid;
 
   /**
    * The name of the HDF5 heavy data solution file this entry references.
    */
-  const std::string h5_sol_filename;
+  std::string h5_sol_filename;
 
   /**
    * The name of the HDF5 mesh file this entry references.
    */
-  const std::string h5_mesh_filename;
+  std::string h5_mesh_filename;
 
   /**
    * The simulation time associated with this entry.
    */
-  const double entry_time;
+  double entry_time;
 
   /**
    * The number of data nodes.
    */
-  const unsigned int num_nodes;
+  unsigned int num_nodes;
 
   /**
    * The number of data cells.
    */
-  const unsigned int num_cells;
+  unsigned int num_cells;
 
   /**
    * The dimension associated with the data.
    */
-  const unsigned int dimension;
+  unsigned int dimension;
 
   /**
    * The dimension of the space the data lives in.
    * Note that dimension <= space_dimension.
    */
-  const unsigned int space_dimension;
+  unsigned int space_dimension;
 
   /**
    * The attributes associated with this entry and their dimension.
index 2e9653f29b4ef7f98ea4ce6f879f7dd817611902..42ea249180eca081e91bd4c0e0196f508cc17a69 100644 (file)
@@ -141,7 +141,7 @@ for (deal_II_dimension : OUTPUT_DIMENSIONS; deal_II_space_dimension :  SPACE_DIM
 #endif
 }
 
-for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS; flag_type : OUTPUT_FLAG_TYPES)
+for (deal_II_dimension : OUTPUT_DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS; flag_type : OUTPUT_FLAG_TYPES)
 {
     template
     void

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.