|
PolyFEM
|
#include <OperationCache.hpp>
Public Types | |
| using | VertexAttributes = WildTriRemesher::VertexAttributes |
| using | EdgeAttributes = WildTriRemesher::BoundaryAttributes |
| using | FaceAttributes = WildTriRemesher::ElementAttributes |
| using | Tuple = wmtk::TriMesh::Tuple |
Public Member Functions | |
| const std::pair< size_t, VertexAttributes > & | v0 () const |
| const std::pair< size_t, VertexAttributes > & | v1 () const |
| const Remesher::EdgeMap< EdgeAttributes > & | edges () const |
| const std::vector< FaceAttributes > & | faces () const |
| bool | is_boundary_op () const |
Static Public Member Functions | |
| static std::shared_ptr< TriOperationCache > | split_edge (WildTriRemesher &m, const Tuple &t) |
| Construct a local mesh as an n-ring around a vertex. | |
| static std::shared_ptr< TriOperationCache > | swap_edge (WildTriRemesher &m, const Tuple &t) |
| static std::shared_ptr< TriOperationCache > | collapse_edge (WildTriRemesher &m, const Tuple &t) |
Public Attributes | |
| double | local_energy = std::numeric_limits<double>::quiet_NaN() |
| CollapseEdgeTo | collapse_to = CollapseEdgeTo::ILLEGAL |
Protected Attributes | |
| std::pair< size_t, VertexAttributes > | m_v0 |
| std::pair< size_t, VertexAttributes > | m_v1 |
| Remesher::EdgeMap< EdgeAttributes > | m_edges |
| std::vector< FaceAttributes > | m_faces |
| bool | m_is_boundary_op = false |
Definition at line 9 of file OperationCache.hpp.
| using polyfem::mesh::TriOperationCache::EdgeAttributes = WildTriRemesher::BoundaryAttributes |
Definition at line 13 of file OperationCache.hpp.
| using polyfem::mesh::TriOperationCache::FaceAttributes = WildTriRemesher::ElementAttributes |
Definition at line 14 of file OperationCache.hpp.
| using polyfem::mesh::TriOperationCache::Tuple = wmtk::TriMesh::Tuple |
Definition at line 15 of file OperationCache.hpp.
| using polyfem::mesh::TriOperationCache::VertexAttributes = WildTriRemesher::VertexAttributes |
Definition at line 12 of file OperationCache.hpp.
|
static |
Definition at line 74 of file OperationCache.cpp.
References cache, polyfem::mesh::WildRemesher< WMTKMesh >::element_attrs, polyfem::mesh::WildRemesher< WMTKMesh >::is_boundary_edge(), and polyfem::mesh::WildRemesher< WMTKMesh >::vertex_attrs.
|
inline |
Definition at line 24 of file OperationCache.hpp.
References m_edges.
|
inline |
Definition at line 25 of file OperationCache.hpp.
References m_faces.
|
inline |
Definition at line 26 of file OperationCache.hpp.
References m_is_boundary_op.
|
static |
Construct a local mesh as an n-ring around a vertex.
Definition at line 49 of file OperationCache.cpp.
References cache, polyfem::mesh::WildRemesher< WMTKMesh >::element_attrs, polyfem::mesh::WildRemesher< WMTKMesh >::is_boundary_edge(), and polyfem::mesh::WildRemesher< WMTKMesh >::vertex_attrs.
|
static |
Definition at line 105 of file OperationCache.cpp.
References cache, polyfem::mesh::WildRemesher< WMTKMesh >::element_attrs, polyfem::mesh::WildRemesher< WMTKMesh >::is_boundary_edge(), and polyfem::mesh::WildRemesher< WMTKMesh >::vertex_attrs.
Referenced by polyfem::mesh::WildRemesher< WMTKMesh >::cache_swap_edge().
|
inline |
Definition at line 22 of file OperationCache.hpp.
References m_v0.
|
inline |
Definition at line 23 of file OperationCache.hpp.
References m_v1.
| CollapseEdgeTo polyfem::mesh::TriOperationCache::collapse_to = CollapseEdgeTo::ILLEGAL |
Definition at line 29 of file OperationCache.hpp.
| double polyfem::mesh::TriOperationCache::local_energy = std::numeric_limits<double>::quiet_NaN() |
Definition at line 28 of file OperationCache.hpp.
|
protected |
Definition at line 34 of file OperationCache.hpp.
Referenced by edges().
|
protected |
Definition at line 35 of file OperationCache.hpp.
Referenced by faces().
|
protected |
Definition at line 36 of file OperationCache.hpp.
Referenced by is_boundary_op().
|
protected |
Definition at line 32 of file OperationCache.hpp.
Referenced by v0().
|
protected |
Definition at line 33 of file OperationCache.hpp.
Referenced by v1().