Tatooine
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | List of all members
tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt > Struct Template Reference

#include <triangular_vtu_writer.h>

Collaboration diagram for tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >:
[legend]

Public Types

using vertex_property_type = typename Grid::vertex_property_type
 
template<typename T >
using typed_vertex_property_type = typename Grid::template typed_vertex_property_type< T >
 

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_unstructured_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_points (std::ofstream &file, std::size_t &offset) const
 
auto write_cells (std::ofstream &file, std::size_t &offset) const
 
auto write_connectivity (std::ofstream &file, std::size_t &offset) const
 
auto write_offsets (std::ofstream &file, std::size_t &offset) const
 
auto write_cell_types (std::ofstream &file, std::size_t &offset) const
 
auto write_appended_data (std::ofstream &file) const
 
auto write_appended_data_points (std::ofstream &file) const
 
auto write_appended_data_cells (std::ofstream &file) const
 
auto write_appended_data_cells_connectivity (std::ofstream &file) const
 
auto write_appended_data_cells_offsets (std::ofstream &file) const
 
auto write_appended_data_cells_types (std::ofstream &file) const
 
auto write_appended_data_point_data (std::ofstream &file) const
 
auto write_appended_data_cell_data (std::ofstream &) const
 
template<typename... Ts>
auto write_vertex_property_appended_data (vertex_property_type const &prop, std::ofstream &file) const
 
template<typename T >
auto write_vertex_property_appended_data (typed_vertex_property_type< T > 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_type

template<typename Grid , unsigned_integral HeaderType = std::uint64_t, integral ConnectivityInt = std::int64_t, integral OffsetInt = std::int64_t, unsigned_integral CellTypesInt = std::uint8_t>
template<typename T >
using tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >::typed_vertex_property_type = typename Grid::template typed_vertex_property_type<T>

◆ vertex_property_type

template<typename Grid , unsigned_integral HeaderType = std::uint64_t, integral ConnectivityInt = std::int64_t, integral OffsetInt = std::int64_t, unsigned_integral CellTypesInt = std::uint8_t>
using tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >::vertex_property_type = typename Grid::vertex_property_type

Member Function Documentation

◆ num_dimensions()

template<typename Grid , unsigned_integral HeaderType = std::uint64_t, integral ConnectivityInt = std::int64_t, integral OffsetInt = std::int64_t, unsigned_integral CellTypesInt = std::uint8_t>
static auto constexpr tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >::num_dimensions ( )
inlinestaticconstexpr

◆ write()

template<typename Grid , unsigned_integral HeaderType = std::uint64_t, integral ConnectivityInt = std::int64_t, integral OffsetInt = std::int64_t, unsigned_integral CellTypesInt = std::uint8_t>
auto tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >::write ( filesystem::path const &  path) const
inline

◆ write_appended_data()

template<typename Grid , unsigned_integral HeaderType = std::uint64_t, integral ConnectivityInt = std::int64_t, integral OffsetInt = std::int64_t, unsigned_integral CellTypesInt = std::uint8_t>
auto tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >::write_appended_data ( std::ofstream &  file) const
inlineprivate

◆ write_appended_data_cell_data()

template<typename Grid , unsigned_integral HeaderType = std::uint64_t, integral ConnectivityInt = std::int64_t, integral OffsetInt = std::int64_t, unsigned_integral CellTypesInt = std::uint8_t>
auto tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >::write_appended_data_cell_data ( std::ofstream &  ) const
inlineprivate

◆ write_appended_data_cells()

template<typename Grid , unsigned_integral HeaderType = std::uint64_t, integral ConnectivityInt = std::int64_t, integral OffsetInt = std::int64_t, unsigned_integral CellTypesInt = std::uint8_t>
auto tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >::write_appended_data_cells ( std::ofstream &  file) const
inlineprivate

◆ write_appended_data_cells_connectivity()

template<typename Grid , unsigned_integral HeaderType = std::uint64_t, integral ConnectivityInt = std::int64_t, integral OffsetInt = std::int64_t, unsigned_integral CellTypesInt = std::uint8_t>
auto tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >::write_appended_data_cells_connectivity ( std::ofstream &  file) const
inlineprivate

◆ write_appended_data_cells_offsets()

template<typename Grid , unsigned_integral HeaderType = std::uint64_t, integral ConnectivityInt = std::int64_t, integral OffsetInt = std::int64_t, unsigned_integral CellTypesInt = std::uint8_t>
auto tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >::write_appended_data_cells_offsets ( std::ofstream &  file) const
inlineprivate

◆ write_appended_data_cells_types()

template<typename Grid , unsigned_integral HeaderType = std::uint64_t, integral ConnectivityInt = std::int64_t, integral OffsetInt = std::int64_t, unsigned_integral CellTypesInt = std::uint8_t>
auto tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >::write_appended_data_cells_types ( std::ofstream &  file) const
inlineprivate

◆ write_appended_data_point_data()

template<typename Grid , unsigned_integral HeaderType = std::uint64_t, integral ConnectivityInt = std::int64_t, integral OffsetInt = std::int64_t, unsigned_integral CellTypesInt = std::uint8_t>
auto tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >::write_appended_data_point_data ( std::ofstream &  file) const
inlineprivate

◆ write_appended_data_points()

template<typename Grid , unsigned_integral HeaderType = std::uint64_t, integral ConnectivityInt = std::int64_t, integral OffsetInt = std::int64_t, unsigned_integral CellTypesInt = std::uint8_t>
auto tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >::write_appended_data_points ( std::ofstream &  file) const
inlineprivate

◆ write_cell_data()

template<typename Grid , unsigned_integral HeaderType = std::uint64_t, integral ConnectivityInt = std::int64_t, integral OffsetInt = std::int64_t, unsigned_integral CellTypesInt = std::uint8_t>
auto tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >::write_cell_data ( std::ofstream &  file,
std::size_t &   
) const
inlineprivate

◆ write_cell_types()

template<typename Grid , unsigned_integral HeaderType = std::uint64_t, integral ConnectivityInt = std::int64_t, integral OffsetInt = std::int64_t, unsigned_integral CellTypesInt = std::uint8_t>
auto tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >::write_cell_types ( std::ofstream &  file,
std::size_t &  offset 
) const
inlineprivate

◆ write_cells()

template<typename Grid , unsigned_integral HeaderType = std::uint64_t, integral ConnectivityInt = std::int64_t, integral OffsetInt = std::int64_t, unsigned_integral CellTypesInt = std::uint8_t>
auto tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >::write_cells ( std::ofstream &  file,
std::size_t &  offset 
) const
inlineprivate

◆ write_connectivity()

template<typename Grid , unsigned_integral HeaderType = std::uint64_t, integral ConnectivityInt = std::int64_t, integral OffsetInt = std::int64_t, unsigned_integral CellTypesInt = std::uint8_t>
auto tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >::write_connectivity ( std::ofstream &  file,
std::size_t &  offset 
) const
inlineprivate

◆ write_offsets()

template<typename Grid , unsigned_integral HeaderType = std::uint64_t, integral ConnectivityInt = std::int64_t, integral OffsetInt = std::int64_t, unsigned_integral CellTypesInt = std::uint8_t>
auto tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >::write_offsets ( std::ofstream &  file,
std::size_t &  offset 
) const
inlineprivate

◆ write_piece()

template<typename Grid , unsigned_integral HeaderType = std::uint64_t, integral ConnectivityInt = std::int64_t, integral OffsetInt = std::int64_t, unsigned_integral CellTypesInt = std::uint8_t>
auto tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >::write_piece ( std::ofstream &  file,
auto &  offset 
) const
inlineprivate

◆ write_point_data()

template<typename Grid , unsigned_integral HeaderType = std::uint64_t, integral ConnectivityInt = std::int64_t, integral OffsetInt = std::int64_t, unsigned_integral CellTypesInt = std::uint8_t>
auto tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >::write_point_data ( std::ofstream &  file,
std::size_t &  offset 
) const
inlineprivate

◆ write_points()

template<typename Grid , unsigned_integral HeaderType = std::uint64_t, integral ConnectivityInt = std::int64_t, integral OffsetInt = std::int64_t, unsigned_integral CellTypesInt = std::uint8_t>
auto tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >::write_points ( std::ofstream &  file,
std::size_t &  offset 
) const
inlineprivate

◆ write_unstructured_grid()

template<typename Grid , unsigned_integral HeaderType = std::uint64_t, integral ConnectivityInt = std::int64_t, integral OffsetInt = std::int64_t, unsigned_integral CellTypesInt = std::uint8_t>
auto tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >::write_unstructured_grid ( std::ofstream &  file,
auto &  offset 
) const
inlineprivate

◆ write_vertex_property_appended_data() [1/2]

template<typename Grid , unsigned_integral HeaderType = std::uint64_t, integral ConnectivityInt = std::int64_t, integral OffsetInt = std::int64_t, unsigned_integral CellTypesInt = std::uint8_t>
template<typename T >
auto tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >::write_vertex_property_appended_data ( typed_vertex_property_type< T > const &  prop,
std::ofstream &  file 
) const
inlineprivate

◆ write_vertex_property_appended_data() [2/2]

template<typename Grid , unsigned_integral HeaderType = std::uint64_t, integral ConnectivityInt = std::int64_t, integral OffsetInt = std::int64_t, unsigned_integral CellTypesInt = std::uint8_t>
template<typename... Ts>
auto tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >::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 = std::uint64_t, integral ConnectivityInt = std::int64_t, integral OffsetInt = std::int64_t, unsigned_integral CellTypesInt = std::uint8_t>
template<typename... Ts>
auto tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >::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 = std::uint64_t, integral ConnectivityInt = std::int64_t, integral OffsetInt = std::int64_t, unsigned_integral CellTypesInt = std::uint8_t>
auto tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >::write_vtk_file ( std::ofstream &  file,
auto &  offset 
) const
inlineprivate

Member Data Documentation

◆ m_grid

template<typename Grid , unsigned_integral HeaderType = std::uint64_t, integral ConnectivityInt = std::int64_t, integral OffsetInt = std::int64_t, unsigned_integral CellTypesInt = std::uint8_t>
Grid const& tatooine::detail::unstructured_simplicial_grid::triangular_vtu_writer< Grid, HeaderType, ConnectivityInt, OffsetInt, CellTypesInt >::m_grid

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