16 #ifndef dealii_data_out_base_h 17 #define dealii_data_out_base_h 20 #include <deal.II/base/config.h> 22 #include <deal.II/base/geometry_info.h> 23 #include <deal.II/base/mpi.h> 24 #include <deal.II/base/point.h> 25 #include <deal.II/base/table.h> 27 #include <deal.II/numerics/data_component_interpretation.h> 30 #include <boost/serialization/map.hpp> 40 #ifdef DEAL_II_HAVE_TECPLOT 48 DEAL_II_NAMESPACE_OPEN
245 template <
int dim,
int spacedim = dim>
370 <<
"It is not possible to have a structural dimension of " << arg1
371 <<
" to be larger than the space dimension of the surrounding" 372 <<
" space " << arg2);
395 template <
int spacedim>
516 <<
"It is not possible to have a structural dimension of " << arg1
517 <<
" to be larger than the space dimension of the surrounding" 518 <<
" space " << arg2);
534 template <
typename FlagsType>
568 template <
typename FlagsType>
574 template <
typename FlagsType>
580 template <
typename FlagsType>
584 return sizeof(FlagsType);
733 "There should be at least one space dimension per spatial " 734 "dimension (extras are ignored).");
951 const double min_value,
952 const double max_value);
972 const double min_value,
973 const double max_value);
982 const double min_value,
983 const double max_value);
993 const double min_value,
994 const double max_value);
1002 const unsigned int size = 300,
1183 const double time = std::numeric_limits<double>::min(),
1184 const unsigned int cycle = std::numeric_limits<unsigned int>::min(),
1222 unsigned int line_thickness;
1239 const int polar_angle = 45,
1240 const unsigned int line_thickness = 1,
1241 const bool margin =
true,
1367 const unsigned int start,
1368 const unsigned int d1,
1369 const unsigned int d2,
1370 const unsigned int d3);
1380 const unsigned int dimension,
1381 const unsigned int set_num,
1397 std::vector<unsigned int> &cell_data)
const;
1475 return (one(0) < two(0) ||
1476 (!(two(0) < one(0)) &&
1477 (one(1) < two(1) || (!(two(1) < one(1)) && one(2) < two(2)))));
1481 using Map3DPoint = std::multimap<Point<3>,
unsigned int,
Point3Comp>;
1539 const unsigned int pt_index);
1632 template <
int dim,
int spacedim>
1633 DEAL_II_DEPRECATED
void 1635 const std::vector<Patch<dim, spacedim>> &patches,
1636 const std::vector<std::string> & data_names,
1637 const std::vector<std::tuple<unsigned int, unsigned int, std::string>>
1638 & nonscalar_data_ranges,
1639 const DXFlags &flags,
1640 std::ostream & out);
1645 template <
int dim,
int spacedim>
1648 const std::vector<Patch<dim, spacedim>> &patches,
1649 const std::vector<std::string> & data_names,
1651 std::tuple<
unsigned int,
1655 & nonscalar_data_ranges,
1656 const DXFlags &flags,
1657 std::ostream & out);
1664 template <
int spacedim>
1665 DEAL_II_DEPRECATED
void 1667 const std::vector<Patch<2, spacedim>> &patches,
1668 const std::vector<std::string> & data_names,
1669 const std::vector<std::tuple<unsigned int, unsigned int, std::string>>
1670 & nonscalar_data_ranges,
1671 const EpsFlags &flags,
1672 std::ostream & out);
1681 template <
int dim,
int spacedim>
1682 DEAL_II_DEPRECATED
void 1684 const std::vector<Patch<dim, spacedim>> &patches,
1685 const std::vector<std::string> & data_names,
1686 const std::vector<std::tuple<unsigned int, unsigned int, std::string>>
1687 & nonscalar_data_ranges,
1688 const EpsFlags &flags,
1689 std::ostream & out);
1735 template <
int spacedim>
1738 const std::vector<Patch<2, spacedim>> &patches,
1739 const std::vector<std::string> & data_names,
1741 std::tuple<
unsigned int,
1745 & nonscalar_data_ranges,
1746 const EpsFlags &flags,
1747 std::ostream & out);
1756 template <
int dim,
int spacedim>
1757 DEAL_II_DEPRECATED
void 1759 const std::vector<Patch<dim, spacedim>> &patches,
1760 const std::vector<std::string> & data_names,
1761 const std::vector<std::tuple<unsigned int, unsigned int, std::string>>
1762 & nonscalar_data_ranges,
1763 const EpsFlags &flags,
1764 std::ostream & out);
1771 template <
int dim,
int spacedim>
1774 const std::vector<Patch<dim, spacedim>> &patches,
1775 const std::vector<std::string> & data_names,
1777 std::tuple<
unsigned int,
1781 & nonscalar_data_ranges,
1782 const EpsFlags &flags,
1783 std::ostream & out);
1790 template <
int dim,
int spacedim>
1791 DEAL_II_DEPRECATED
void 1793 const std::vector<Patch<dim, spacedim>> &patches,
1794 const std::vector<std::string> & data_names,
1795 const std::vector<std::tuple<unsigned int, unsigned int, std::string>>
1796 & nonscalar_data_ranges,
1797 const GmvFlags &flags,
1798 std::ostream & out);
1809 template <
int dim,
int spacedim>
1812 const std::vector<Patch<dim, spacedim>> &patches,
1813 const std::vector<std::string> & data_names,
1815 std::tuple<
unsigned int,
1819 & nonscalar_data_ranges,
1820 const GmvFlags &flags,
1821 std::ostream & out);
1828 template <
int dim,
int spacedim>
1829 DEAL_II_DEPRECATED
void 1831 const std::vector<Patch<dim, spacedim>> &patches,
1832 const std::vector<std::string> & data_names,
1833 const std::vector<std::tuple<unsigned int, unsigned int, std::string>>
1834 & nonscalar_data_ranges,
1835 const GnuplotFlags &flags,
1836 std::ostream & out);
1894 template <
int dim,
int spacedim>
1897 const std::vector<Patch<dim, spacedim>> &patches,
1898 const std::vector<std::string> & data_names,
1900 std::tuple<
unsigned int,
1904 & nonscalar_data_ranges,
1905 const GnuplotFlags &flags,
1906 std::ostream & out);
1914 template <
int dim,
int spacedim>
1915 DEAL_II_DEPRECATED
void 1917 const std::vector<Patch<dim, spacedim>> &patches,
1918 const std::vector<std::string> & data_names,
1919 const std::vector<std::tuple<unsigned int, unsigned int, std::string>>
1920 & nonscalar_data_ranges,
1921 const PovrayFlags &flags,
1922 std::ostream & out);
1969 template <
int dim,
int spacedim>
1972 const std::vector<Patch<dim, spacedim>> &patches,
1973 const std::vector<std::string> & data_names,
1975 std::tuple<
unsigned int,
1979 & nonscalar_data_ranges,
1980 const PovrayFlags &flags,
1981 std::ostream & out);
1991 template <
int dim,
int spacedim>
1992 DEAL_II_DEPRECATED
void 1994 const std::vector<Patch<dim, spacedim>> &patches,
1995 const std::vector<std::string> & data_names,
1996 const std::vector<std::tuple<unsigned int, unsigned int, std::string>>
1997 & nonscalar_data_ranges,
1998 const TecplotFlags &flags,
1999 std::ostream & out);
2007 template <
int dim,
int spacedim>
2010 const std::vector<Patch<dim, spacedim>> &patches,
2011 const std::vector<std::string> & data_names,
2013 std::tuple<
unsigned int,
2017 & nonscalar_data_ranges,
2018 const TecplotFlags &flags,
2019 std::ostream & out);
2027 template <
int dim,
int spacedim>
2028 DEAL_II_DEPRECATED
void 2030 const std::vector<Patch<dim, spacedim>> &patches,
2031 const std::vector<std::string> & data_names,
2032 const std::vector<std::tuple<unsigned int, unsigned int, std::string>>
2033 & nonscalar_data_ranges,
2034 const TecplotFlags &flags,
2035 std::ostream & out);
2058 template <
int dim,
int spacedim>
2059 DEAL_II_DEPRECATED
void 2061 const std::vector<Patch<dim, spacedim>> &patches,
2062 const std::vector<std::string> & data_names,
2064 std::tuple<
unsigned int,
2068 & nonscalar_data_ranges,
2069 const TecplotFlags &flags,
2070 std::ostream & out);
2078 template <
int dim,
int spacedim>
2079 DEAL_II_DEPRECATED
void 2081 const std::vector<Patch<dim, spacedim>> &patches,
2082 const std::vector<std::string> & data_names,
2083 const std::vector<std::tuple<unsigned int, unsigned int, std::string>>
2084 & nonscalar_data_ranges,
2085 const UcdFlags &flags,
2086 std::ostream & out);
2102 template <
int dim,
int spacedim>
2105 const std::vector<Patch<dim, spacedim>> &patches,
2106 const std::vector<std::string> & data_names,
2108 std::tuple<
unsigned int,
2112 & nonscalar_data_ranges,
2113 const UcdFlags &flags,
2114 std::ostream & out);
2123 template <
int dim,
int spacedim>
2124 DEAL_II_DEPRECATED
void 2126 const std::vector<Patch<dim, spacedim>> &patches,
2127 const std::vector<std::string> & data_names,
2128 const std::vector<std::tuple<unsigned int, unsigned int, std::string>>
2129 & nonscalar_data_ranges,
2130 const VtkFlags &flags,
2131 std::ostream & out);
2152 template <
int dim,
int spacedim>
2155 const std::vector<Patch<dim, spacedim>> &patches,
2156 const std::vector<std::string> & data_names,
2158 std::tuple<
unsigned int,
2162 & nonscalar_data_ranges,
2163 const VtkFlags &flags,
2164 std::ostream & out);
2173 template <
int dim,
int spacedim>
2174 DEAL_II_DEPRECATED
void 2176 const std::vector<Patch<dim, spacedim>> &patches,
2177 const std::vector<std::string> & data_names,
2178 const std::vector<std::tuple<unsigned int, unsigned int, std::string>>
2179 & nonscalar_data_ranges,
2180 const VtkFlags &flags,
2181 std::ostream & out);
2206 template <
int dim,
int spacedim>
2209 const std::vector<Patch<dim, spacedim>> &patches,
2210 const std::vector<std::string> & data_names,
2212 std::tuple<
unsigned int,
2216 & nonscalar_data_ranges,
2217 const VtkFlags &flags,
2218 std::ostream & out);
2245 template <
int dim,
int spacedim>
2246 DEAL_II_DEPRECATED
void 2248 const std::vector<Patch<dim, spacedim>> &patches,
2249 const std::vector<std::string> & data_names,
2250 const std::vector<std::tuple<unsigned int, unsigned int, std::string>>
2251 & nonscalar_data_ranges,
2252 const VtkFlags &flags,
2253 std::ostream & out);
2261 template <
int dim,
int spacedim>
2264 const std::vector<Patch<dim, spacedim>> &patches,
2265 const std::vector<std::string> & data_names,
2267 std::tuple<
unsigned int,
2271 & nonscalar_data_ranges,
2272 const VtkFlags &flags,
2273 std::ostream & out);
2289 const std::vector<std::string> &piece_names,
2290 const std::vector<std::string> &data_names,
2291 const std::vector<std::tuple<unsigned int, unsigned int, std::string>>
2292 &nonscalar_data_ranges);
2338 const std::vector<std::string> &piece_names,
2339 const std::vector<std::string> &data_names,
2341 std::tuple<
unsigned int,
2345 &nonscalar_data_ranges);
2400 const std::vector<std::pair<double, std::string>> ×_and_names);
2415 const std::vector<std::string> &piece_names);
2446 const std::vector<std::vector<std::string>> &piece_names);
2483 const std::vector<std::pair<
double, std::vector<std::string>>>
2484 ×_and_piece_names);
2491 template <
int spacedim>
2492 DEAL_II_DEPRECATED
void 2494 const std::vector<Patch<2, spacedim>> &patches,
2495 const std::vector<std::string> & data_names,
2496 const std::vector<std::tuple<unsigned int, unsigned int, std::string>>
2497 & nonscalar_data_ranges,
2498 const SvgFlags &flags,
2499 std::ostream & out);
2521 template <
int spacedim>
2524 const std::vector<Patch<2, spacedim>> &patches,
2525 const std::vector<std::string> & data_names,
2527 std::tuple<
unsigned int,
2531 & nonscalar_data_ranges,
2532 const SvgFlags &flags,
2533 std::ostream & out);
2546 template <
int dim,
int spacedim>
2547 DEAL_II_DEPRECATED
void 2549 const std::vector<Patch<dim, spacedim>> &patches,
2550 const std::vector<std::string> & data_names,
2551 const std::vector<std::tuple<unsigned int, unsigned int, std::string>>
2552 & nonscalar_data_ranges,
2553 const Deal_II_IntermediateFlags &flags,
2554 std::ostream & out);
2593 template <
int dim,
int spacedim>
2596 const std::vector<Patch<dim, spacedim>> &patches,
2597 const std::vector<std::string> & data_names,
2599 std::tuple<
unsigned int,
2603 & nonscalar_data_ranges,
2604 const Deal_II_IntermediateFlags &flags,
2605 std::ostream & out);
2611 template <
int dim,
int spacedim>
2614 const DataOutFilter & data_filter,
2615 const std::string & filename,
2625 template <
int dim,
int spacedim>
2628 const DataOutFilter & data_filter,
2629 const bool write_mesh_file,
2630 const std::string & mesh_filename,
2631 const std::string &solution_filename,
2642 template <
int dim,
int spacedim>
2643 DEAL_II_DEPRECATED
void 2645 const std::vector<Patch<dim, spacedim>> &patches,
2646 const std::vector<std::string> & data_names,
2647 const std::vector<std::tuple<unsigned int, unsigned int, std::string>>
2648 & nonscalar_data_ranges,
2649 DataOutFilter &filtered_data);
2657 template <
int dim,
int spacedim>
2660 const std::vector<Patch<dim, spacedim>> &patches,
2661 const std::vector<std::string> & data_names,
2663 std::tuple<
unsigned int,
2667 & nonscalar_data_ranges,
2668 DataOutFilter &filtered_data);
2681 std::pair<unsigned int, unsigned int>
2740 <<
"The number of points in this data set is " << arg1
2741 <<
", but we expected " << arg2
2742 <<
" in each space direction.");
2747 "You are trying to write graphical data into a file, but " 2748 "no data is available in the intermediate format that " 2749 "the DataOutBase functions require. Did you forget to " 2750 "call a function such as DataOut::build_patches()?");
2755 "The error code of one of the Tecplot functions was " 2756 "not zero as expected.");
2762 <<
"There was an error opening Tecplot file " << arg1
2877 template <
int dim,
int spacedim = dim>
3029 const std::vector<std::string> &piece_names)
const;
3058 const std::string & h5_filename,
3059 const double cur_time,
3060 MPI_Comm comm)
const;
3069 const std::string & h5_mesh_filename,
3070 const std::string & h5_solution_filename,
3071 const double cur_time,
3072 MPI_Comm comm)
const;
3100 const std::string & filename,
3101 MPI_Comm comm)
const;
3119 const std::string & filename,
3120 MPI_Comm comm)
const;
3131 const bool write_mesh_file,
3132 const std::string & mesh_filename,
3133 const std::string & solution_filename,
3134 MPI_Comm comm)
const;
3155 write(std::ostream & out,
3171 template <
typename FlagType>
3230 virtual const std::vector<DataOutBase::Patch<dim, spacedim>> &
3237 virtual std::vector<std::string>
3248 virtual std::vector<std::tuple<unsigned int, unsigned int, std::string>>
3269 virtual std::vector<
3270 std::tuple<
unsigned int,
3412 template <
int dim,
int spacedim = dim>
3422 read(std::istream &in);
3454 "You are trying to merge two sets of patches for which the " 3455 "declared names of the variables do not match.");
3460 "You are trying to merge two sets of patches for which the " 3461 "number of subdivisions or the number of vector components " 3471 <<
"Either the dimensions <" << arg1 <<
"> and <" << arg2
3472 <<
"> or the space dimensions <" << arg3 <<
"> and <" << arg4
3473 <<
"> do not match!");
3484 virtual const std::vector<::DataOutBase::Patch<dim, spacedim>> &
3493 virtual std::vector<std::string>
3514 virtual std::vector<
3515 std::tuple<
unsigned int,
3526 std::vector<::DataOutBase::Patch<dim, spacedim>>
patches;
3527 std::vector<std::string> dataset_names;
3534 std::tuple<
unsigned int,
3565 const unsigned int nodes,
3566 const unsigned int cells,
3567 const unsigned int dim);
3573 XDMFEntry(
const std::string &mesh_filename,
3574 const std::string &solution_filename,
3576 const unsigned int nodes,
3577 const unsigned int cells,
3578 const unsigned int dim);
3583 XDMFEntry(
const std::string &mesh_filename,
3584 const std::string &solution_filename,
3586 const unsigned int nodes,
3587 const unsigned int cells,
3588 const unsigned int dim,
3589 const unsigned int spacedim);
3600 template <
class Archive>
3672 return (red == green) && (red == blue);
3686 template <
int dim,
int spacedim>
3688 operator<<(std::ostream &out, const Patch<dim, spacedim> &patch);
3700 template <
int dim,
int spacedim>
3706 DEAL_II_NAMESPACE_CLOSE
static void declare_parameters(ParameterHandler &prm)
void write_pvtu_record(std::ostream &out, const std::vector< std::string > &piece_names) const
RgbValues(*)(const double value, const double min_value, const double max_value) ColorFunction
static const unsigned int invalid_unsigned_int
unsigned int space_dimension
Map3DPoint existing_points
unsigned int height_vector
void write_vtu_footer(std::ostream &out)
static void declare_parameters(ParameterHandler &prm)
#define DeclException2(Exception2, type1, type2, outsequence)
void parse_parameters(const ParameterHandler &prm)
void write_hdf5_parallel(const DataOutBase::DataOutFilter &data_filter, const std::string &filename, MPI_Comm comm) const
void write_tecplot_binary(std::ostream &out) const
std::size_t memory_consumption() const
void set_flags(const FlagType &flags)
virtual std::vector< std::string > get_dataset_names() const =0
void write_vtu_main(const std::vector< Patch< dim, spacedim >> &patches, const std::vector< std::string > &data_names, const std::vector< std::tuple< unsigned int, unsigned int, std::string >> &nonscalar_data_ranges, const VtkFlags &flags, std::ostream &out)
void write_data_set(const std::string &name, const unsigned int dimension, const unsigned int set_num, const Table< 2, double > &data_vectors)
static ::ExceptionBase & ExcIncompatibleDatasetNames()
std::map< unsigned int, unsigned int > filtered_cells
void write_gmv(const std::vector< Patch< dim, spacedim >> &patches, const std::vector< std::string > &data_names, const std::vector< std::tuple< unsigned int, unsigned int, std::string >> &nonscalar_data_ranges, const GmvFlags &flags, std::ostream &out)
void write_visit_record(std::ostream &out, const std::vector< std::string > &piece_names)
virtual const std::vector<::DataOutBase::Patch< dim, spacedim > > & get_patches() const override
std::pair< unsigned int, unsigned int > determine_intermediate_format_dimensions(std::istream &input)
void write_vtu_in_parallel(const std::string &filename, MPI_Comm comm) const
void parse_parameters(const ParameterHandler &prm)
void swap(Patch< dim, spacedim > &other_patch)
void merge(const DataOutReader< dim, spacedim > &other)
void write_vtu_header(std::ostream &out, const VtkFlags &flags)
unsigned int n_nodes() const
void write_svg(const std::vector< Patch< 2, spacedim >> &patches, const std::vector< std::string > &data_names, const std::vector< std::tuple< unsigned int, unsigned int, std::string >> &nonscalar_data_ranges, const SvgFlags &flags, std::ostream &out)
static RgbValues default_color_function(const double value, const double min_value, const double max_value)
std::vector< std::tuple< unsigned int, unsigned int, std::string, DataComponentInterpretation::DataComponentInterpretation > > nonscalar_data_ranges
void write_pvd_record(std::ostream &out, const std::vector< std::pair< double, std::string >> ×_and_names)
ZlibCompressionLevel compression_level
virtual std::vector< std::string > get_dataset_names() const override
void write_vtk(std::ostream &out) const
unsigned int get_data_set_dim(const unsigned int set_num) const
unsigned int default_subdivisions
std::vector< unsigned int > data_set_dims
Point< spacedim > vertices[GeometryInfo< dim >::vertices_per_cell]
std::string get_xdmf_content(const unsigned int indent_level) const
bool filter_duplicate_vertices
std::vector< std::vector< double > > data_sets
static void declare_parameters(ParameterHandler &prm)
void fill_cell_data(const unsigned int local_node_offset, std::vector< unsigned int > &cell_data) const
std::map< std::string, unsigned int > attribute_dims
void write(std::ostream &out, const DataOutBase::OutputFormat output_format=DataOutBase::default_format) const
void parse_parameters(ParameterHandler &prm)
void write_filtered_data(const std::vector< Patch< dim, spacedim >> &patches, const std::vector< std::string > &data_names, const std::vector< std::tuple< unsigned int, unsigned int, std::string >> &nonscalar_data_ranges, DataOutFilter &filtered_data)
void write_ucd(std::ostream &out) const
std::string default_suffix(const DataOutBase::OutputFormat output_format=DataOutBase::default_format) const
void write_hdf5_parallel(const std::vector< Patch< dim, spacedim >> &patches, const DataOutFilter &data_filter, const std::string &filename, MPI_Comm comm)
void write_tecplot(const std::vector< Patch< dim, spacedim >> &patches, const std::vector< std::string > &data_names, const std::vector< std::tuple< unsigned int, unsigned int, std::string >> &nonscalar_data_ranges, const TecplotFlags &flags, std::ostream &out)
const char * tecplot_binary_file_name
unsigned int neighbors[dim > 0 ? GeometryInfo< dim >::faces_per_cell :1]
void write_deal_II_intermediate(const std::vector< Patch< dim, spacedim >> &patches, const std::vector< std::string > &data_names, const std::vector< std::tuple< unsigned int, unsigned int, std::string >> &nonscalar_data_ranges, const Deal_II_IntermediateFlags &flags, std::ostream &out)
static ::ExceptionBase & ExcNoPatches()
DataOutBase::PovrayFlags povray_flags
DataOutBase::DataOutFilterFlags flags
SvgFlags(const unsigned int height_vector=0, const int azimuth_angle=37, const int polar_angle=45, const unsigned int line_thickness=1, const bool margin=true, const bool draw_colorbar=true)
unsigned int n_data_sets() const
std::string default_suffix(const OutputFormat output_format)
EpsFlags(const unsigned int height_vector=0, const unsigned int color_vector=0, const SizeType size_type=width, const unsigned int size=300, const double line_width=0.5, const double azimut_angle=60, const double turn_angle=30, const double z_scaling=1.0, const bool draw_mesh=true, const bool draw_cells=true, const bool shade_cells=true, const ColorFunction color_function=&default_color_function)
static ::ExceptionBase & ExcNotEnoughSpaceDimensionLabels()
std::istream & operator>>(std::istream &in, Patch< dim, spacedim > &patch)
std::vector< std::string > space_dimension_labels
static RgbValues reverse_grey_scale_color_function(const double value, const double min_value, const double max_value)
void write_point(const unsigned int index, const Point< dim > &p)
unsigned int n_cells() const
std::size_t memory_consumption() const
void serialize(Archive &ar, const unsigned int)
#define DeclException1(Exception1, type1, outsequence)
TecplotFlags(const char *tecplot_binary_file_name=nullptr, const char *zone_name=nullptr, const double solution_time=-1.0)
virtual std::vector< std::tuple< unsigned int, unsigned int, std::string, DataComponentInterpretation::DataComponentInterpretation > > get_nonscalar_data_ranges() const override
std::vector< std::string > data_set_names
void add_attribute(const std::string &attr_name, const unsigned int dimension)
void write_tecplot(std::ostream &out) const
DXFlags(const bool write_neighbors=false, const bool int_binary=false, const bool coordinates_binary=false, const bool data_binary=false)
void parse_parameters(const ParameterHandler &prm)
void write_vtu(const std::vector< Patch< dim, spacedim >> &patches, const std::vector< std::string > &data_names, const std::vector< std::tuple< unsigned int, unsigned int, std::string >> &nonscalar_data_ranges, const VtkFlags &flags, std::ostream &out)
void write_tecplot_binary(const std::vector< Patch< dim, spacedim >> &patches, const std::vector< std::string > &data_names, const std::vector< std::tuple< unsigned int, unsigned int, std::string >> &nonscalar_data_ranges, const TecplotFlags &flags, std::ostream &out)
std::size_t memory_consumption() const
void write_cell(const unsigned int index, const unsigned int start, const unsigned int d1, const unsigned int d2, const unsigned int d3)
DataOutBase::Deal_II_IntermediateFlags deal_II_intermediate_flags
void read(std::istream &in)
#define DeclExceptionMsg(Exception, defaulttext)
bool points_are_available
std::vector<::DataOutBase::Patch< dim, spacedim > > patches
OutputFormat parse_output_format(const std::string &format_name)
void write_xdmf_file(const std::vector< XDMFEntry > &entries, const std::string &filename, MPI_Comm comm) const
void write_dx(const std::vector< Patch< dim, spacedim >> &patches, const std::vector< std::string > &data_names, const std::vector< std::tuple< unsigned int, unsigned int, std::string >> &nonscalar_data_ranges, const DXFlags &flags, std::ostream &out)
ColorFunction color_function
static RgbValues grey_scale_color_function(const double value, const double min_value, const double max_value)
virtual const std::vector< DataOutBase::Patch< dim, spacedim > > & get_patches() const =0
DataOutFilterFlags(const bool filter_duplicate_vertices=false, const bool xdmf_hdf5_output=false)
void write_svg(std::ostream &out) const
unsigned int n_subdivisions
DataOutBase::TecplotFlags tecplot_flags
void parse_parameters(const ParameterHandler &prm)
virtual std::vector< std::tuple< unsigned int, unsigned int, std::string > > get_vector_data_ranges() const
DataOutBase::SvgFlags svg_flags
std::string h5_sol_filename
static ::ExceptionBase & ExcIncompatiblePatchLists()
void parse_parameters(const ParameterHandler &prm)
std::string h5_mesh_filename
void fill_node_data(std::vector< double > &node_data) const
static ::ExceptionBase & ExcInvalidDatasetSize(int arg1, int arg2)
static void declare_parameters(ParameterHandler &prm)
static void declare_parameters(ParameterHandler &prm)
bool operator==(const Patch &patch) const
void write_eps(std::ostream &out) const
DataComponentInterpretation
void write_povray(const std::vector< Patch< dim, spacedim >> &patches, const std::vector< std::string > &data_names, const std::vector< std::tuple< unsigned int, unsigned int, std::string >> &nonscalar_data_ranges, const PovrayFlags &flags, std::ostream &out)
void write_deal_II_intermediate(std::ostream &out) const
static void declare_parameters(ParameterHandler &prm)
static const unsigned int no_neighbor
DataOutBase::GmvFlags gmv_flags
DataOutBase::VtkFlags vtk_flags
std::size_t memory_consumption() const
void write_ucd(const std::vector< Patch< dim, spacedim >> &patches, const std::vector< std::string > &data_names, const std::vector< std::tuple< unsigned int, unsigned int, std::string >> &nonscalar_data_ranges, const UcdFlags &flags, std::ostream &out)
void write_filtered_data(DataOutBase::DataOutFilter &filtered_data) const
const double * get_data_set(const unsigned int set_num) const
VtkFlags(const double time=std::numeric_limits< double >::min(), const unsigned int cycle=std::numeric_limits< unsigned int >::min(), const bool print_date_and_time=true, const ZlibCompressionLevel compression_level=best_compression, const bool write_higher_order_cells=false)
void write_povray(std::ostream &out) const
static const unsigned int space_dim
DataOutBase::GnuplotFlags gnuplot_flags
void set_default_format(const DataOutBase::OutputFormat default_format)
void write_gmv(std::ostream &out) const
PovrayFlags(const bool smooth=false, const bool bicubic_patch=false, const bool external_data=false)
void internal_add_cell(const unsigned int cell_index, const unsigned int pt_index)
#define DeclException4(Exception4, type1, type2, type3, type4, outsequence)
unsigned int color_vector
static ::ExceptionBase & ExcInvalidCombinationOfDimensions(int arg1, int arg2)
DataOutBase::OutputFormat default_fmt
std::size_t memory_consumption() const
void validate_dataset_names() const
static void declare_parameters(ParameterHandler &prm)
DataOutBase::EpsFlags eps_flags
void write_dx(std::ostream &out) const
std::string get_data_set_name(const unsigned int set_num) const
static ::ExceptionBase & ExcIncompatibleDimensions(int arg1, int arg2, int arg3, int arg4)
std::size_t memory_consumption() const
std::map< unsigned int, unsigned int > filtered_points
virtual std::vector< std::tuple< unsigned int, unsigned int, std::string, DataComponentInterpretation::DataComponentInterpretation > > get_nonscalar_data_ranges() const
bool points_are_available
bool write_higher_order_cells
void write_gnuplot(std::ostream &out) const
static unsigned int n_subdivisions
void write_vtu(std::ostream &out) const
UcdFlags(const bool write_preamble=false)
void parse_parameters(const ParameterHandler &prm)
void write_pvtu_record(std::ostream &out, const std::vector< std::string > &piece_names, const std::vector< std::string > &data_names, const std::vector< std::tuple< unsigned int, unsigned int, std::string >> &nonscalar_data_ranges)
std::string get_output_format_names()
DataOutBase::UcdFlags ucd_flags
virtual ~DataOutInterface()=default
unsigned int height_vector
unsigned int vertices_per_cell
void write_gnuplot(const std::vector< Patch< dim, spacedim >> &patches, const std::vector< std::string > &data_names, const std::vector< std::tuple< unsigned int, unsigned int, std::string >> &nonscalar_data_ranges, const GnuplotFlags &flags, std::ostream &out)
void write_vtk(const std::vector< Patch< dim, spacedim >> &patches, const std::vector< std::string > &data_names, const std::vector< std::tuple< unsigned int, unsigned int, std::string >> &nonscalar_data_ranges, const VtkFlags &flags, std::ostream &out)
void write_eps(const std::vector< Patch< 2, spacedim >> &patches, const std::vector< std::string > &data_names, const std::vector< std::tuple< unsigned int, unsigned int, std::string >> &nonscalar_data_ranges, const EpsFlags &flags, std::ostream &out)
static ::ExceptionBase & ExcErrorOpeningTecplotFile(char *arg1)
DataOutBase::DXFlags dx_flags
static ::ExceptionBase & ExcTecplotAPIError()
XDMFEntry create_xdmf_entry(const DataOutBase::DataOutFilter &data_filter, const std::string &h5_filename, const double cur_time, MPI_Comm comm) const