GridFormat 0.2.1
I/O-Library for grid-like data structures
Loading...
Searching...
No Matches
GridFormat::VTKXMLTimeSeriesWriter< VTKWriter > Class Template Reference

Writer for time series of a VTK-XML file format. Populates the "TimeValue" metadata field supported by VTK.

#include <xml_time_series_writer.hpp>

Inheritance diagram for GridFormat::VTKXMLTimeSeriesWriter< VTKWriter >:
GridFormat::TimeSeriesGridWriter< VTKWriter::Grid > GridFormat::GridWriterBase< G >

Public Member Functions

 VTKXMLTimeSeriesWriter (VTKWriter &&writer, std::string base_filename)
 
- Public Member Functions inherited from GridFormat::TimeSeriesGridWriter< VTKWriter::Grid >
 TimeSeriesGridWriter (TimeSeriesGridWriter &&)=default
 
 TimeSeriesGridWriter (const TimeSeriesGridWriter &)=delete
 
 TimeSeriesGridWriter (const VTKWriter::Grid &grid, std::optional< WriterOptions > opts)
 
TimeSeriesGridWriteroperator= (TimeSeriesGridWriter &&)=default
 
TimeSeriesGridWriteroperator= (const TimeSeriesGridWriter &)=delete
 
std::string write (double t)
 
- Public Member Functions inherited from GridFormat::GridWriterBase< G >
 GridWriterBase (const Grid &grid, std::optional< WriterOptions > opts)
 
template<std::ranges::range R>
void set_meta_data (const std::string &name, R &&range)
 
void set_meta_data (const std::string &name, std::string text)
 
template<Concepts::Scalar T>
void set_meta_data (const std::string &name, T value)
 
template<std::derived_from< Field > F>
void set_meta_data (const std::string &name, F &&field)
 
void set_meta_data (const std::string &name, FieldPtr ptr)
 
FieldPtr remove_meta_data (const std::string &name)
 
template<Concepts::PointFunction< Grid > F, Concepts::Scalar T = GridDetail::PointFunctionScalarType<Grid, F>>
void set_point_field (const std::string &name, F &&point_function, const Precision< T > &prec={})
 
template<std::derived_from< Field > F>
void set_point_field (const std::string &name, F &&field)
 
void set_point_field (const std::string &name, FieldPtr field_ptr)
 
FieldPtr remove_point_field (const std::string &name)
 
template<Concepts::CellFunction< Grid > F, Concepts::Scalar T = GridDetail::CellFunctionScalarType<Grid, F>>
void set_cell_field (const std::string &name, F &&cell_function, const Precision< T > &prec={})
 
template<std::derived_from< Field > F>
void set_cell_field (const std::string &name, F &&field)
 
void set_cell_field (const std::string &name, FieldPtr field_ptr)
 
FieldPtr remove_cell_field (const std::string &name)
 
void clear ()
 
void set_ignore_warnings (bool value)
 
const Grid & grid () const
 
const std::optional< WriterOptions > & writer_options () const
 
template<typename Writer >
void copy_fields (Writer &w) const
 

Additional Inherited Members

- Public Types inherited from GridFormat::GridWriterBase< G >
using Grid = G
 
using Field = typename FieldStorage::Field
 
using FieldPtr = typename FieldStorage::FieldPtr
 
- Protected Member Functions inherited from GridFormat::GridWriterBase< G >
void _log_warning (std::string_view warning) const
 
template<typename EntityFunction , Concepts::Scalar T>
auto _make_point_field (EntityFunction &&f, const Precision< T > &prec) const
 
template<typename EntityFunction , Concepts::Scalar T>
auto _make_cell_field (EntityFunction &&f, const Precision< T > &prec) const
 
std::ranges::range auto _point_field_names () const
 
std::ranges::range auto _cell_field_names () const
 
const Field & _get_point_field (const std::string &name) const
 
FieldPtr _get_point_field_ptr (const std::string &name) const
 
const Field & _get_cell_field (const std::string &name) const
 
FieldPtr _get_cell_field_ptr (const std::string &name) const
 
std::ranges::range auto _meta_data_field_names () const
 
const Field & _get_meta_data_field (const std::string &name) const
 
FieldPtr _get_meta_data_field_ptr (const std::string &name) const
 
- Protected Attributes inherited from GridFormat::TimeSeriesGridWriter< VTKWriter::Grid >
unsigned _step_count
 

The documentation for this class was generated from the following file: