|
| DataOutFilter () |
|
| DataOutFilter (const DataOutBase::DataOutFilterFlags &flags) |
|
template<int dim> |
void | write_point (const unsigned int index, const Point< dim > &p) |
|
template<int dim> |
void | write_cell (const unsigned int index, const unsigned int start, const unsigned int d1, const unsigned int d2, const unsigned int d3) |
|
void | write_data_set (const std::string &name, const unsigned int dimension, const unsigned int set_num, const Table< 2, double > &data_vectors) |
|
void | fill_node_data (std::vector< double > &node_data) const |
|
void | fill_cell_data (const unsigned int local_node_offset, std::vector< unsigned int > &cell_data) const |
|
std::string | get_data_set_name (const unsigned int set_num) const |
|
unsigned int | get_data_set_dim (const unsigned int set_num) const |
|
const double * | get_data_set (const unsigned int set_num) const |
|
unsigned int | n_nodes () const |
|
unsigned int | n_cells () const |
|
unsigned int | n_data_sets () const |
|
void | flush_points () |
|
void | flush_cells () |
|
DataOutFilter provides a way to remove redundant vertices and values generated by the deal.II output. By default, DataOutBase and the classes that build on it output data at each corner of each cell. This means that data is output multiple times for each vertex of the mesh. The purpose of this scheme is to support output of discontinuous quantities, either because the finite element space is discontinuous or because the quantity that is output is computed from a solution field and is discontinuous across faces.
This class is an attempt to rein in the amount of data that is written. If the fields that are written to files are indeed discontinuous, the only way to faithfully represent them is indeed to write multiple values for each vertex (this is typically done by writing multiple node locations for the same vertex and defining data at these nodes). However, for fine meshes, one may not necessarily be interested in an exact representation of output fields that will likely only have small discontinuities. Rather, it may be sufficient to just output one value per vertex, which may be chosen arbitrarily from among those that are defined at this vertex from any of the adjacent cells.
Definition at line 1339 of file data_out_base.h.