]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add tecplot_binary to get_output_format_names. Add exception.
authorRalf Hartmann <Ralf.Hartmann@dlr.de>
Fri, 23 Sep 2005 10:06:08 +0000 (10:06 +0000)
committerRalf Hartmann <Ralf.Hartmann@dlr.de>
Fri, 23 Sep 2005 10:06:08 +0000 (10:06 +0000)
git-svn-id: https://svn.dealii.org/trunk@11517 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/data_out_base.cc

index 8c51cfe53dd799740ad22b8792a48eeb11361879..b3436421077ed19d4bfc66e7a8d043a9c91d4b04 100644 (file)
@@ -639,7 +639,7 @@ parse_output_format (const std::string &format_name)
 std::string
 DataOutBase::get_output_format_names ()
 {
-  return "dx|ucd|gnuplot|povray|eps|gmv|tecplot|vtk|deal.II intermediate";
+  return "dx|ucd|gnuplot|povray|eps|gmv|tecplot|tecplot_binary|vtk|deal.II intermediate";
 }
 
 
@@ -3386,6 +3386,12 @@ void DataOutBase::write_tecplot_binary (const std::vector<Patch<dim,spacedim> >
 
   if (file_name == NULL)
     {
+                                      // At least in debug mode we
+                                      // should tell users why they
+                                      // don't get tecplot binary
+                                      // output
+      Assert(false, ExcMessage("Specify the name of the tecplot_binary"
+                              " file through the TecplotFlags interface."));
       write_tecplot (patches, data_names, flags, out);
       return;      
     };

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.