From f85d3901aeb1bf2304d8c6b75dfc0fc94ccd8d99 Mon Sep 17 00:00:00 2001 From: Ralf Hartmann Date: Fri, 23 Sep 2005 10:06:08 +0000 Subject: [PATCH] Add tecplot_binary to get_output_format_names. Add exception. git-svn-id: https://svn.dealii.org/trunk@11517 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/source/data_out_base.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/deal.II/base/source/data_out_base.cc b/deal.II/base/source/data_out_base.cc index 8c51cfe53d..b343642107 100644 --- a/deal.II/base/source/data_out_base.cc +++ b/deal.II/base/source/data_out_base.cc @@ -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 > 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; }; -- 2.39.5