|
void | writeData (std::ofstream &out, std::vector< pos_type > &offsets, VtkFunction const &fct, PositionTypes type, std::optional< std::size_t > timestep={}) const |
|
void | writeDataAppended (std::ofstream &out, std::vector< std::uint64_t > &blocks) const |
|
void | writePoints (std::ofstream &out, std::vector< pos_type > &offsets, std::optional< std::size_t > timestep={}) const |
|
void | writeAppended (std::ofstream &out, std::vector< pos_type > const &offsets) const |
|
template<class HeaderType , class FloatType > |
std::uint64_t | writeValuesAppended (std::ofstream &out, std::vector< FloatType > const &values) const |
|
template<class T > |
void | writeValuesAscii (std::ofstream &out, std::vector< T > const &values) const |
|
void | writeHeader (std::ofstream &out, std::string const &type) const |
|
std::string | getNames (std::vector< VtkFunction > const &data) const |
| Return PointData/CellData attributes for the name of the first scalar/vector/tensor DataArray. More...
|
|
std::string | getEndian () const |
|
std::string | getFileExtension () const |
|
Vtk::FormatTypes | getFormat () const |
|
Vtk::DataTypes | getDatatype () const |
|
auto | comm () const |
|
template<class
GridView, class
DataCollector = Vtk::StructuredDataCollector<GridView>>
class Dune::VtkImageDataWriter< GridView, DataCollector >
File-Writer for ImageData VTK .vti files.
Requirement:
- DataCollector must be a model of StructuredDataCollector
template<class GV , class DC >
template<class Function , class... Args>
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::Function. Additional argument for output datatype and number of components can be passed. See Vtk::Function Constructor for possible arguments.
- Parameters
-
fct | A GridFunction, LocalFunction, or Dune::VTKFunction |
args... | Additional arguments, like name , numComponents , dataType or Vtk::FieldInfo |
template<class GV , class DC >
template<class Function , class... Args>
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::Function. Additional argument for output datatype and number of components can be passed. See Vtk::Function Constructor for possible arguments.
- Parameters
-
fct | A GridFunction, LocalFunction, or Dune::VTKFunction |
args... | Additional arguments, like name , numComponents , dataType or Vtk::FieldInfo |