Wildmeshing Toolkit
|
#include <Tuple.hpp>
Public Member Functions | |
Tuple (int8_t local_vid, int8_t local_eid, int8_t local_fid, int64_t global_cid, int8_t hash) | |
Tuple ()=default | |
Tuple (const Tuple &other)=default | |
Tuple (Tuple &&other)=default | |
Tuple & | operator= (const Tuple &other)=default |
Tuple & | operator= (Tuple &&other)=default |
bool | operator== (const Tuple &t) const |
bool | operator!= (const Tuple &t) const |
bool | operator< (const Tuple &t) const |
bool | same_ids (const Tuple &t) const |
Checks whether two tuples are equal, but ignores the hash. More... | |
bool | is_null () const |
Checks if a tuple is "null". This merely implies the global index is -1. More... | |
Tuple | with_updated_hash (int64_t new_hash) const |
Private Member Functions | |
int8_t | local_vid () const |
int8_t | local_eid () const |
int8_t | local_fid () const |
Private Attributes | |
int64_t | m_global_cid = -1 |
int8_t | m_local_vid = -1 |
int8_t | m_local_eid = -1 |
int8_t | m_local_fid = -1 |
int8_t | m_hash = -1 |
Friends | |
class | Mesh |
class | PointMesh |
class | EdgeMesh |
class | TriMesh |
class | TetMesh |
class | multimesh::MultiMeshManager |
template<typename T , typename MeshType , int Dim> | |
class | attribute::Accessor |
class | operations::Operation |
class | utils::TupleCellLessThan |
class | utils::TupleInspector |
class | components::internal::MultiMeshFromTag |
|
inline |
|
default |
|
default |
|
default |
|
inline |
Checks if a tuple is "null". This merely implies the global index is -1.
Definition at line 39 of file Tuple.hxx.
References m_global_cid.
Referenced by wmtk::TetMesh::is_valid(), wmtk::TriMesh::is_valid(), wmtk::EdgeMesh::is_valid(), wmtk::PointMesh::is_valid(), wmtk::operations::utils::UpdateEdgeOperationMultiMeshMapFunctor::update_ear_replacement(), and wmtk::multimesh::MultiMeshManager::update_map_tuple_hashes().
|
inlineprivate |
Definition at line 54 of file Tuple.hxx.
References m_local_eid.
|
inlineprivate |
Definition at line 59 of file Tuple.hxx.
References m_local_fid.
|
inlineprivate |
Definition at line 49 of file Tuple.hxx.
References m_local_vid.
|
inline |
|
inline |
Definition at line 28 of file Tuple.hxx.
References m_global_cid, m_hash, m_local_eid, m_local_fid, and m_local_vid.
|
inline |
Definition at line 22 of file Tuple.hxx.
References m_global_cid, m_hash, m_local_eid, m_local_fid, and m_local_vid.
|
inline |
Checks whether two tuples are equal, but ignores the hash.
Definition at line 33 of file Tuple.hxx.
References m_global_cid, m_local_eid, m_local_fid, and m_local_vid.
|
inline |
Definition at line 44 of file Tuple.hxx.
References m_global_cid, m_local_eid, m_local_fid, m_local_vid, and Tuple().
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
private |
Definition at line 41 of file Tuple.hpp.
Referenced by wmtk::attribute::Accessor< T, MeshType, Dim >::const_topological_scalar_attribute(), wmtk::multimesh::MultiMeshManager::find_valid_tuple_from_split(), wmtk::utils::TupleInspector::global_cid(), wmtk::EdgeMesh::id(), wmtk::PointMesh::id(), wmtk::TetMesh::id(), wmtk::TriMesh::id(), wmtk::Mesh::is_hash_valid(), is_null(), wmtk::Mesh::is_removed(), wmtk::TetMesh::is_valid(), wmtk::TriMesh::is_valid(), wmtk::EdgeMesh::is_valid(), wmtk::PointMesh::is_valid(), wmtk::Mesh::is_valid_slow(), wmtk::multimesh::MultiMeshManager::map_tuple_between_meshes(), wmtk::utils::TupleCellLessThan::operator()(), operator<(), operator==(), wmtk::Mesh::resurrect_tuple(), same_ids(), wmtk::EdgeMesh::switch_tuple(), wmtk::Mesh::update_cell_hash(), wmtk::multimesh::MultiMeshManager::update_map_tuple_hashes(), wmtk::TriMesh::with_different_cid(), and with_updated_hash().
|
private |
Definition at line 45 of file Tuple.hpp.
Referenced by wmtk::utils::TupleInspector::hash(), wmtk::Mesh::is_hash_valid(), operator<(), operator==(), wmtk::Mesh::resurrect_tuple(), and wmtk::EdgeMesh::switch_tuple().
|
private |
Definition at line 43 of file Tuple.hpp.
Referenced by wmtk::attribute::Accessor< T, MeshType, Dim >::const_topological_scalar_attribute(), wmtk::multimesh::MultiMeshManager::find_valid_tuple_from_split(), wmtk::TetMesh::id(), wmtk::TriMesh::is_boundary_edge(), wmtk::TetMesh::is_valid(), wmtk::TriMesh::is_valid(), local_eid(), wmtk::utils::TupleInspector::local_eid(), operator<(), operator==(), same_ids(), wmtk::TriMesh::switch_tuple(), wmtk::EdgeMesh::switch_tuple(), and with_updated_hash().
|
private |
Definition at line 44 of file Tuple.hpp.
Referenced by wmtk::attribute::Accessor< T, MeshType, Dim >::const_topological_scalar_attribute(), wmtk::multimesh::MultiMeshManager::find_valid_tuple_from_split(), wmtk::TetMesh::id(), wmtk::TetMesh::is_boundary_face(), wmtk::TetMesh::is_valid(), local_fid(), wmtk::utils::TupleInspector::local_fid(), wmtk::multimesh::MultiMeshManager::map_tuple_between_meshes(), operator<(), operator==(), same_ids(), wmtk::TetMesh::switch_tuple(), wmtk::TriMesh::switch_tuple(), wmtk::EdgeMesh::switch_tuple(), and with_updated_hash().
|
private |
Definition at line 42 of file Tuple.hpp.
Referenced by wmtk::attribute::Accessor< T, MeshType, Dim >::const_topological_scalar_attribute(), wmtk::multimesh::MultiMeshManager::find_valid_tuple_from_split(), wmtk::EdgeMesh::id(), wmtk::TetMesh::id(), wmtk::EdgeMesh::is_boundary_vertex(), wmtk::EdgeMesh::is_ccw(), wmtk::TetMesh::is_valid(), wmtk::TriMesh::is_valid(), wmtk::EdgeMesh::is_valid(), local_vid(), wmtk::utils::TupleInspector::local_vid(), operator<(), operator==(), same_ids(), wmtk::TriMesh::switch_tuple(), wmtk::EdgeMesh::switch_tuple(), and with_updated_hash().