From d6213e4ac17ad81f1009bf2284c8968236bbcdc4 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sat, 10 Nov 2018 17:11:52 +0100 Subject: [PATCH] Deprecate Tecplot binary output --- include/deal.II/base/data_out_base.h | 31 ++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/include/deal.II/base/data_out_base.h b/include/deal.II/base/data_out_base.h index 8b9fa93e52..83f08c41da 100644 --- a/include/deal.II/base/data_out_base.h +++ b/include/deal.II/base/data_out_base.h @@ -1046,8 +1046,10 @@ namespace DataOutBase * This variable is needed to hold the output file name when using the * Tecplot API to write binary files. If the user doesn't set the file * name with this variable only ASCII Tecplot output will be produced. + * + * @deprecated Using Tecplot binary output is deprecated. */ - const char *tecplot_binary_file_name; + DEAL_II_DEPRECATED const char *tecplot_binary_file_name; /** * Tecplot allows to assign names to zones. This variable stores this @@ -1064,7 +1066,11 @@ namespace DataOutBase /** * Constructor. + * + * @deprecated Usig this constructor is deprecated. Set the member variables + * directly instead. */ + DEAL_II_DEPRECATED TecplotFlags(const char * tecplot_binary_file_name = nullptr, const char * zone_name = nullptr, const double solution_time = -1.0); @@ -1540,42 +1546,52 @@ namespace DataOutBase * Use the format already stored in the object. */ default_format, + /** * Do not write any output. */ none, + /** * Output for OpenDX. */ dx, + /** * Output in the UCD format for AVS. */ ucd, + /** * Output for the Gnuplot tool. */ gnuplot, + /** * Output for the Povray raytracer. */ povray, + /** * Output in encapsulated PostScript. */ eps, + /** * Output for GMV. */ gmv, + /** * Output for Tecplot in text format. */ - tecplot, + /** * Output for Tecplot in binary format. Faster and smaller than text * format. + * + * @deprecated Using Tecplot binary output is deprecated. */ tecplot_binary, @@ -2003,7 +2019,7 @@ namespace DataOutBase * Write the given list of patches to the output stream in Tecplot binary * format. * - * @deprecated Use the version suing DataComponentInterpretation instead. + * @deprecated Using Tecplot binary output is deprecated. */ template DEAL_II_DEPRECATED void @@ -2033,9 +2049,11 @@ namespace DataOutBase * produced. * * For more information consult the Tecplot Users and Reference manuals. + * + * @deprecated Using Tecplot binary output is deprecated. */ template - void + DEAL_II_DEPRECATED void write_tecplot_binary( const std::vector> &patches, const std::vector & data_names, @@ -2699,6 +2717,8 @@ namespace DataOutBase *
  • svg: .svg *
  • deal_II_intermediate: .d2. * + * + * @deprecated Using Tecplot binary output is deprecated. */ std::string default_suffix(const OutputFormat output_format); @@ -2912,7 +2932,10 @@ public: * Obtain data through get_patches() and write it in the Tecplot binary * output format. Note that the name of the output file must be specified * through the TecplotFlags interface. + * + * @deprecated Using Tecplot binary output is deprecated. */ + DEAL_II_DEPRECATED void write_tecplot_binary(std::ostream &out) const; -- 2.39.5