PolyFEM
|
#include <OperationCache.hpp>
Public Types | |
using | VertexAttributes = WildTetRemesher::VertexAttributes |
using | EdgeAttributes = WildTetRemesher::EdgeAttributes |
using | FaceAttributes = WildTetRemesher::BoundaryAttributes |
using | TetAttributes = WildTetRemesher::ElementAttributes |
using | Tuple = wmtk::TetMesh::Tuple |
Public Member Functions | |
const std::pair< size_t, VertexAttributes > & | v0 () const |
const std::pair< size_t, VertexAttributes > & | v1 () const |
const std::optional< std::pair< size_t, VertexAttributes > > & | v2 () const |
const Remesher::EdgeMap< EdgeAttributes > & | edges () const |
const Remesher::FaceMap< FaceAttributes > & | faces () const |
const Remesher::TetMap< TetAttributes > & | tets () const |
bool | is_boundary_op () const |
Static Public Member Functions | |
static std::shared_ptr< TetOperationCache > | split_edge (WildTetRemesher &m, const Tuple &t) |
static std::shared_ptr< TetOperationCache > | swap_32 (WildTetRemesher &m, const Tuple &t) |
static std::shared_ptr< TetOperationCache > | collapse_edge (WildTetRemesher &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 |
std::optional< std::pair< size_t, VertexAttributes > > | m_v2 |
Remesher::EdgeMap< EdgeAttributes > | m_edges |
Remesher::FaceMap< FaceAttributes > | m_faces |
Remesher::TetMap< TetAttributes > | m_tets |
bool | m_is_boundary_op = false |
Definition at line 39 of file OperationCache.hpp.
using polyfem::mesh::TetOperationCache::EdgeAttributes = WildTetRemesher::EdgeAttributes |
Definition at line 43 of file OperationCache.hpp.
using polyfem::mesh::TetOperationCache::FaceAttributes = WildTetRemesher::BoundaryAttributes |
Definition at line 44 of file OperationCache.hpp.
using polyfem::mesh::TetOperationCache::TetAttributes = WildTetRemesher::ElementAttributes |
Definition at line 45 of file OperationCache.hpp.
using polyfem::mesh::TetOperationCache::Tuple = wmtk::TetMesh::Tuple |
Definition at line 46 of file OperationCache.hpp.
using polyfem::mesh::TetOperationCache::VertexAttributes = WildTetRemesher::VertexAttributes |
Definition at line 42 of file OperationCache.hpp.
|
static |
Definition at line 153 of file OperationCache.cpp.
References cache, polyfem::mesh::WildRemesher< WMTKMesh >::element_attrs, polyfem::mesh::WildRemesher< WMTKMesh >::is_boundary_edge(), tets(), and polyfem::mesh::WildRemesher< WMTKMesh >::vertex_attrs.
|
inline |
Definition at line 57 of file OperationCache.hpp.
References m_edges.
|
inline |
Definition at line 58 of file OperationCache.hpp.
References m_faces.
|
inline |
Definition at line 60 of file OperationCache.hpp.
References m_is_boundary_op.
|
static |
Definition at line 128 of file OperationCache.cpp.
References cache, polyfem::mesh::WildRemesher< WMTKMesh >::element_attrs, polyfem::mesh::WildRemesher< WMTKMesh >::is_boundary_edge(), tets(), and polyfem::mesh::WildRemesher< WMTKMesh >::vertex_attrs.
|
inlinestatic |
Definition at line 49 of file OperationCache.hpp.
References polyfem::log_and_throw_error().
Referenced by polyfem::mesh::WildRemesher< WMTKMesh >::cache_swap_edge().
|
inline |
Definition at line 59 of file OperationCache.hpp.
References m_tets.
Referenced by collapse_edge(), and split_edge().
|
inline |
Definition at line 54 of file OperationCache.hpp.
References m_v0.
|
inline |
Definition at line 55 of file OperationCache.hpp.
References m_v1.
|
inline |
Definition at line 56 of file OperationCache.hpp.
References m_v2.
CollapseEdgeTo polyfem::mesh::TetOperationCache::collapse_to = CollapseEdgeTo::ILLEGAL |
Definition at line 63 of file OperationCache.hpp.
double polyfem::mesh::TetOperationCache::local_energy = std::numeric_limits<double>::quiet_NaN() |
Definition at line 62 of file OperationCache.hpp.
|
protected |
Definition at line 69 of file OperationCache.hpp.
Referenced by edges().
|
protected |
Definition at line 70 of file OperationCache.hpp.
Referenced by faces().
|
protected |
Definition at line 72 of file OperationCache.hpp.
Referenced by is_boundary_op().
|
protected |
Definition at line 71 of file OperationCache.hpp.
Referenced by tets().
|
protected |
Definition at line 66 of file OperationCache.hpp.
Referenced by v0().
|
protected |
Definition at line 67 of file OperationCache.hpp.
Referenced by v1().
|
protected |
Definition at line 68 of file OperationCache.hpp.
Referenced by v2().