|
dune-vtk 2.12
|
File-Writer for VTK .vtu files. More...
#include <dune/vtk/writers/unstructuredgridwriter.hh>

Public Types | |
| using | GridView = GV |
| using | DataCollector = DC |
Protected Types | |
| enum | PositionTypes { POINT_DATA , CELL_DATA } |
| using | VtkFunction = Dune::Vtk::GridFunction< GridView > |
| using | Domain = typename GridView::template Codim< 0 >::Entity::Geometry::GlobalCoordinate |
Protected Attributes | |
| Vtk::CompressorTypes | compressor_ = Vtk::CompressorTypes::NONE |
| std::size_t const | block_size = 1024*32 |
| int | compression_level = -1 |
Friends | |
| template<class > | |
| class | TimeseriesWriter |
Detailed Description
class Dune::Vtk::UnstructuredGridWriter< GridView, DataCollector >
File-Writer for VTK .vtu files.
Requirement:
- DataCollector must be a model of DataCollector
Member Typedef Documentation
◆ DataCollector
|
inherited |
◆ Domain
|
protectedinherited |
◆ GridView
◆ VtkFunction
|
protectedinherited |
Member Enumeration Documentation
◆ PositionTypes
Member Function Documentation
◆ addCellData() [1/4]
|
inlineinherited |
◆ addCellData() [2/4]
|
inlineinherited |
◆ addCellData() [3/4]
|
inlineinherited |
Attach cell data to the writer.
Attach a global function to the writer that will be evaluated at cell centers. The global function must be assignable to the function wrapper Vtk::GridFunction. Additional argument for output datatype and number of components can be passed. See Vtk::GridFunction Constructor for possible arguments.
- Parameters
-
fct A GridFunction or Dune::VTKFunction info Additional arguments, like name,numComponents,dataTypeorrangeType
◆ addCellData() [4/4]
|
inlineinherited |
◆ addPointData() [1/4]
|
inlineinherited |
◆ addPointData() [2/4]
|
inlineinherited |
◆ addPointData() [3/4]
|
inlineinherited |
Attach point data to the writer.
Attach a global function to the writer that will be evaluated at grid points (vertices and higher order points). The global function must be assignable to the function wrapper Vtk::GridFunction. Additional argument for output datatype and number of components can be passed. See Vtk::GridFunction Constructor for possible arguments.
- Parameters
-
fct A GridFunction or Dune::VTKFunction inf Additional arguments, like name,numComponents,dataTypeorrangeType
◆ addPointData() [4/4]
|
inlineinherited |
◆ comm()
|
inlineprotectedinherited |
◆ getDatatype()
|
inlineprotectedinherited |
◆ getEndian()
|
inlineprotectedinherited |
◆ getFileExtension()
|
inlineprotectedinherited |
◆ getFormat()
|
inlineprotectedinherited |
◆ getNames()
|
protectedinherited |
Return PointData/CellData attributes for the name of the first scalar/vector/tensor DataArray.
◆ setCompressor()
|
inlineinherited |
Sets the compressor type used in binary data headers, Additionally a compression level can be passed with level = -1 means: default compression level. Level must be in [0-9]
◆ setDatatype()
|
inlineinherited |
Sets the global datatype used for coordinates and other global float values.
◆ setFormat()
|
inlineinherited |
◆ setHeadertype()
|
inlineinherited |
Sets the integer type used in binary data headers.
◆ write()
|
overridevirtualinherited |
Write the attached data to the file.
- Parameters
-
fn Filename of the VTK file. May contain a directory and any file extension. dir The optional parameter specifies the directory of the partition files for parallel writes.
- Returns
- File name that is actually written.
Implements Dune::Vtk::FileWriter.
◆ writeAppended()
|
protectedinherited |
◆ writeData()
|
protectedinherited |
◆ writeDataAppended()
|
protectedinherited |
◆ writeHeader()
|
protectedinherited |
◆ writePoints()
|
protectedinherited |
◆ writeValuesAppended()
|
protectedinherited |
◆ writeValuesAscii()
|
protectedinherited |
Friends And Related Symbol Documentation
◆ TimeseriesWriter
|
friend |
Member Data Documentation
◆ block_size
|
protectedinherited |
◆ compression_level
|
protectedinherited |
◆ compressor_
|
protectedinherited |
The documentation for this class was generated from the following files:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8