| Wildmeshing Toolkit
    | 
#include <CofacesSingleDimensionIterable.hpp>
| Public Member Functions | |
| Iterator (CofacesSingleDimensionIterable &container, const Tuple &t=Tuple()) | |
| Iterator & | operator++ () | 
| bool | operator!= (const Iterator &other) const | 
| Tuple & | operator* () | 
| const Tuple & | operator* () const | 
| Private Member Functions | |
| int64_t | depth () | 
| Compute the depth from the mesh and the simplex type. | |
| bool | is_coface_d0 () | 
| Check if coface type is the mesh's top simplex type. | |
| void | init () | 
| Depending on the depth, the iterator must be initialized differently. | |
| Iterator & | step_depth_3 () | 
| Use breadth first search to find all d-simplices, and iterate through all cofaces in a d-simplex. | |
| Private Attributes | |
| CofacesSingleDimensionIterable & | m_container | 
| TopDimensionCofacesIterable::Iterator | m_it | 
| int8_t | m_edge_counter = 0 | 
Definition at line 26 of file CofacesSingleDimensionIterable.hpp.
| wmtk::simplex::CofacesSingleDimensionIterable::Iterator::Iterator | ( | CofacesSingleDimensionIterable & | container, | 
| const Tuple & | t = Tuple() | ||
| ) | 
Definition at line 22 of file CofacesSingleDimensionIterable.cpp.
References init().
| 
 | private | 
Compute the depth from the mesh and the simplex type.
The depth is "mesh top simplex dimension" - "simplex dimension".
Definition at line 65 of file CofacesSingleDimensionIterable.cpp.
References wmtk::get_primitive_type_id(), wmtk::simplex::Simplex::primitive_type(), and wmtk::Mesh::top_cell_dimension().
| 
 | private | 
Depending on the depth, the iterator must be initialized differently.
Definition at line 81 of file CofacesSingleDimensionIterable.cpp.
References wmtk::Mesh::get_id_simplex().
Referenced by Iterator().
| 
 | private | 
Check if coface type is the mesh's top simplex type.
Definition at line 75 of file CofacesSingleDimensionIterable.cpp.
References wmtk::get_primitive_type_id().
| bool wmtk::simplex::CofacesSingleDimensionIterable::Iterator::operator!= | ( | const Iterator & | other | ) | const | 
Definition at line 50 of file CofacesSingleDimensionIterable.cpp.
| Tuple & wmtk::simplex::CofacesSingleDimensionIterable::Iterator::operator* | ( | ) | 
Definition at line 55 of file CofacesSingleDimensionIterable.cpp.
| const Tuple & wmtk::simplex::CofacesSingleDimensionIterable::Iterator::operator* | ( | ) | const | 
Definition at line 60 of file CofacesSingleDimensionIterable.cpp.
| CofacesSingleDimensionIterable::Iterator & wmtk::simplex::CofacesSingleDimensionIterable::Iterator::operator++ | ( | ) | 
Definition at line 35 of file CofacesSingleDimensionIterable.cpp.
| 
 | private | 
Use breadth first search to find all d-simplices, and iterate through all cofaces in a d-simplex.
Definition at line 91 of file CofacesSingleDimensionIterable.cpp.
References wmtk::Edge, wmtk::Mesh::get_id_simplex(), wmtk::Mesh::switch_tuples(), and wmtk::Triangle.
| 
 | private | 
Definition at line 59 of file CofacesSingleDimensionIterable.hpp.
| 
 | private | 
Definition at line 61 of file CofacesSingleDimensionIterable.hpp.
| 
 | private | 
Definition at line 60 of file CofacesSingleDimensionIterable.hpp.