Wildmeshing Toolkit
tuple_map_attribute_io.hpp File Reference
Include dependency graph for tuple_map_attribute_io.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 wmtk
 
 wmtk::multimesh
 
 wmtk::multimesh::utils
 

Typedefs

using wmtk::multimesh::utils::TupleVector = Vector< int64_t, TUPLE_SIZE >
 
using wmtk::multimesh::utils::TwoTupleVector = Vector< int64_t, TWO_TUPLE_SIZE >
 

Functions

Vector< int64_t, TUPLE_SIZE > wmtk::multimesh::utils::tuple_to_vector (const Tuple &t)
 
Tuple wmtk::multimesh::utils::vector_to_tuple (const Eigen::Ref< const TupleVector > &v)
 
std::tuple< Tuple, Tuple > wmtk::multimesh::utils::vectors_to_tuples (const Eigen::Ref< const TwoTupleVector > &v)
 
TwoTupleVector wmtk::multimesh::utils::tuples_to_vectors (const Tuple &a, const Tuple &b)
 
template<typename MeshType >
void wmtk::multimesh::utils::write_tuple_map_attribute (wmtk::attribute::Accessor< int64_t, MeshType > &map_accessor, const Tuple &source_tuple, const Tuple &target_tuple)
 
template<typename MeshType >
std::tuple< Tuple, Tuple > wmtk::multimesh::utils::read_tuple_map_attribute (const wmtk::attribute::Accessor< int64_t, MeshType > &accessor, const Tuple &source_tuple)
 
template<typename MeshA , typename MeshB >
void wmtk::multimesh::utils::symmetric_write_tuple_map_attributes (wmtk::attribute::Accessor< int64_t, MeshA > &a_to_b, wmtk::attribute::Accessor< int64_t, MeshB > &b_to_a, const Tuple &a_tuple, const Tuple &b_tuple)
 
void wmtk::multimesh::utils::write_tuple_map_attribute_slow (Mesh &source_mesh, TypedAttributeHandle< int64_t > map_handle, const Tuple &source_tuple, const Tuple &target_tuple)
 
std::tuple< Tuple, Tuple > wmtk::multimesh::utils::read_tuple_map_attribute_slow (const Mesh &source_mesh, TypedAttributeHandle< int64_t > map_handle, const Tuple &source_tuple)