Tatooine
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | List of all members
tatooine::detail::rectilinear_grid::vtr_writer< Grid, HeaderType > Struct Template Reference

#include <vtr_writer.h>

Collaboration diagram for tatooine::detail::rectilinear_grid::vtr_writer< Grid, HeaderType >:
[legend]

Public Types

using vertex_property_type = typename Grid::vertex_property_type
 
template<typename T , bool H>
using typed_vertex_property_interface_type = typename Grid::template typed_vertex_property_interface_type< T, H >
 

Public Member Functions

auto write (filesystem::path const &path) const
 

Static Public Member Functions

static auto constexpr num_dimensions ()
 

Public Attributes

Grid const & m_grid
 

Private Member Functions

auto write_vtk_file (std::ofstream &file, auto &offset) const
 
auto write_rectilinear_grid (std::ofstream &file, auto &offset) const
 
auto write_piece (std::ofstream &file, auto &offset) const
 
auto write_point_data (std::ofstream &file, std::size_t &offset) const
 
auto write_cell_data (std::ofstream &file, std::size_t &) const
 
auto write_coordinates (std::ofstream &file, std::size_t &offset) const
 
template<typename T >
auto write_dimension_data_array (std::vector< T > const &dim, std::string const &name, std::ofstream &file, std::size_t &offset) const
 
template<typename T , std::size_t N>
auto write_dimension_data_array (std::array< T, N > const &, std::string const &name, std::ofstream &file, std::size_t &offset) const
 
template<typename T >
auto write_dimension_data_array (tatooine::linspace< T > const &dim, std::string const &name, std::ofstream &file, std::size_t &offset) const
 
auto write_appended_data (std::ofstream &file) const
 
auto write_appended_data_point_data (std::ofstream &file) const
 
auto write_appended_data_cell_data (std::ofstream &) const
 
auto write_appended_data_coordinates (std::ofstream &file) const
 
template<typename T >
auto write_dimension_appended_data (std::vector< T > const &dim, std::ofstream &file) const
 
template<typename T , std::size_t N>
auto write_dimension_appended_data (std::array< T, N > const &dim, std::ofstream &file) const
 
template<typename T >
auto write_dimension_appended_data (tatooine::linspace< T > const &dim, std::ofstream &file) const
 
template<typename... Ts>
auto write_vertex_property_appended_data (vertex_property_type const &prop, std::ofstream &file) const
 
template<typename T , bool H>
auto write_vertex_property_appended_data (typed_vertex_property_interface_type< T, H > const &prop, std::ofstream &file) const
 
template<typename... Ts>
auto write_vertex_property_data_array (auto const &name, vertex_property_type const &prop, std::ofstream &file, std::size_t &offset) const
 

Member Typedef Documentation

◆ typed_vertex_property_interface_type

template<typename Grid , unsigned_integral HeaderType>
template<typename T , bool H>
using tatooine::detail::rectilinear_grid::vtr_writer< Grid, HeaderType >::typed_vertex_property_interface_type = typename Grid::template typed_vertex_property_interface_type<T, H>

◆ vertex_property_type

template<typename Grid , unsigned_integral HeaderType>
using tatooine::detail::rectilinear_grid::vtr_writer< Grid, HeaderType >::vertex_property_type = typename Grid::vertex_property_type

Member Function Documentation

◆ num_dimensions()

template<typename Grid , unsigned_integral HeaderType>
static auto constexpr tatooine::detail::rectilinear_grid::vtr_writer< Grid, HeaderType >::num_dimensions ( )
inlinestaticconstexpr

◆ write()

template<typename Grid , unsigned_integral HeaderType>
auto tatooine::detail::rectilinear_grid::vtr_writer< Grid, HeaderType >::write ( filesystem::path const &  path) const
inline

◆ write_appended_data()

template<typename Grid , unsigned_integral HeaderType>
auto tatooine::detail::rectilinear_grid::vtr_writer< Grid, HeaderType >::write_appended_data ( std::ofstream &  file) const
inlineprivate

◆ write_appended_data_cell_data()

template<typename Grid , unsigned_integral HeaderType>
auto tatooine::detail::rectilinear_grid::vtr_writer< Grid, HeaderType >::write_appended_data_cell_data ( std::ofstream &  ) const
inlineprivate

◆ write_appended_data_coordinates()

template<typename Grid , unsigned_integral HeaderType>
auto tatooine::detail::rectilinear_grid::vtr_writer< Grid, HeaderType >::write_appended_data_coordinates ( std::ofstream &  file) const
inlineprivate

◆ write_appended_data_point_data()

template<typename Grid , unsigned_integral HeaderType>
auto tatooine::detail::rectilinear_grid::vtr_writer< Grid, HeaderType >::write_appended_data_point_data ( std::ofstream &  file) const
inlineprivate

◆ write_cell_data()

template<typename Grid , unsigned_integral HeaderType>
auto tatooine::detail::rectilinear_grid::vtr_writer< Grid, HeaderType >::write_cell_data ( std::ofstream &  file,
std::size_t &   
) const
inlineprivate

◆ write_coordinates()

template<typename Grid , unsigned_integral HeaderType>
auto tatooine::detail::rectilinear_grid::vtr_writer< Grid, HeaderType >::write_coordinates ( std::ofstream &  file,
std::size_t &  offset 
) const
inlineprivate

◆ write_dimension_appended_data() [1/3]

template<typename Grid , unsigned_integral HeaderType>
template<typename T , std::size_t N>
auto tatooine::detail::rectilinear_grid::vtr_writer< Grid, HeaderType >::write_dimension_appended_data ( std::array< T, N > const &  dim,
std::ofstream &  file 
) const
inlineprivate

◆ write_dimension_appended_data() [2/3]

template<typename Grid , unsigned_integral HeaderType>
template<typename T >
auto tatooine::detail::rectilinear_grid::vtr_writer< Grid, HeaderType >::write_dimension_appended_data ( std::vector< T > const &  dim,
std::ofstream &  file 
) const
inlineprivate

◆ write_dimension_appended_data() [3/3]

template<typename Grid , unsigned_integral HeaderType>
template<typename T >
auto tatooine::detail::rectilinear_grid::vtr_writer< Grid, HeaderType >::write_dimension_appended_data ( tatooine::linspace< T > const &  dim,
std::ofstream &  file 
) const
inlineprivate

◆ write_dimension_data_array() [1/3]

template<typename Grid , unsigned_integral HeaderType>
template<typename T , std::size_t N>
auto tatooine::detail::rectilinear_grid::vtr_writer< Grid, HeaderType >::write_dimension_data_array ( std::array< T, N > const &  ,
std::string const &  name,
std::ofstream &  file,
std::size_t &  offset 
) const
inlineprivate

◆ write_dimension_data_array() [2/3]

template<typename Grid , unsigned_integral HeaderType>
template<typename T >
auto tatooine::detail::rectilinear_grid::vtr_writer< Grid, HeaderType >::write_dimension_data_array ( std::vector< T > const &  dim,
std::string const &  name,
std::ofstream &  file,
std::size_t &  offset 
) const
inlineprivate

◆ write_dimension_data_array() [3/3]

template<typename Grid , unsigned_integral HeaderType>
template<typename T >
auto tatooine::detail::rectilinear_grid::vtr_writer< Grid, HeaderType >::write_dimension_data_array ( tatooine::linspace< T > const &  dim,
std::string const &  name,
std::ofstream &  file,
std::size_t &  offset 
) const
inlineprivate

◆ write_piece()

template<typename Grid , unsigned_integral HeaderType>
auto tatooine::detail::rectilinear_grid::vtr_writer< Grid, HeaderType >::write_piece ( std::ofstream &  file,
auto &  offset 
) const
inlineprivate

◆ write_point_data()

template<typename Grid , unsigned_integral HeaderType>
auto tatooine::detail::rectilinear_grid::vtr_writer< Grid, HeaderType >::write_point_data ( std::ofstream &  file,
std::size_t &  offset 
) const
inlineprivate

◆ write_rectilinear_grid()

template<typename Grid , unsigned_integral HeaderType>
auto tatooine::detail::rectilinear_grid::vtr_writer< Grid, HeaderType >::write_rectilinear_grid ( std::ofstream &  file,
auto &  offset 
) const
inlineprivate

◆ write_vertex_property_appended_data() [1/2]

template<typename Grid , unsigned_integral HeaderType>
template<typename T , bool H>
auto tatooine::detail::rectilinear_grid::vtr_writer< Grid, HeaderType >::write_vertex_property_appended_data ( typed_vertex_property_interface_type< T, H > const &  prop,
std::ofstream &  file 
) const
inlineprivate

◆ write_vertex_property_appended_data() [2/2]

template<typename Grid , unsigned_integral HeaderType>
template<typename... Ts>
auto tatooine::detail::rectilinear_grid::vtr_writer< Grid, HeaderType >::write_vertex_property_appended_data ( vertex_property_type const &  prop,
std::ofstream &  file 
) const
inlineprivate

◆ write_vertex_property_data_array()

template<typename Grid , unsigned_integral HeaderType>
template<typename... Ts>
auto tatooine::detail::rectilinear_grid::vtr_writer< Grid, HeaderType >::write_vertex_property_data_array ( auto const &  name,
vertex_property_type const &  prop,
std::ofstream &  file,
std::size_t &  offset 
) const
inlineprivate

◆ write_vtk_file()

template<typename Grid , unsigned_integral HeaderType>
auto tatooine::detail::rectilinear_grid::vtr_writer< Grid, HeaderType >::write_vtk_file ( std::ofstream &  file,
auto &  offset 
) const
inlineprivate

Member Data Documentation

◆ m_grid

template<typename Grid , unsigned_integral HeaderType>
Grid const& tatooine::detail::rectilinear_grid::vtr_writer< Grid, HeaderType >::m_grid

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