PolyFEM
Loading...
Searching...
No Matches
polyfem::mesh::Navigation Namespace Reference

Classes

struct  Index
 

Functions

void prepare_mesh (PolygonMesh &M)
 
Index get_index_from_face (const PolygonMesh &M, int f, int lv)
 
Index switch_vertex (const PolygonMesh &M, Index idx)
 
Index switch_edge (const PolygonMesh &M, Index idx)
 
Index switch_face (const PolygonMesh &M, Index idx)
 
Index next_around_face (const PolygonMesh &M, Index idx)
 
Index next_around_edge (const PolygonMesh &M, Index idx)
 
Index next_around_vertex (const PolygonMesh &M, Index idx)
 

Function Documentation

◆ get_index_from_face()

Index polyfem::mesh::Navigation::get_index_from_face ( const PolygonMesh &  M,
int  f,
int  lv 
)

Definition at line 89 of file Navigation.cpp.

References switch_edge(), and switch_vertex().

Referenced by polyfem::mesh::CMesh2D::get_index_from_face(), polyfem::mesh::refine_polygonal_mesh(), and polyfem::mesh::refine_triangle_mesh().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ next_around_edge()

Index polyfem::mesh::Navigation::next_around_edge ( const PolygonMesh &  M,
Index  idx 
)
inline

Definition at line 34 of file Navigation.hpp.

References switch_face(), and switch_vertex().

Here is the call graph for this function:

◆ next_around_face()

Index polyfem::mesh::Navigation::next_around_face ( const PolygonMesh &  M,
Index  idx 
)
inline

Definition at line 33 of file Navigation.hpp.

References switch_edge(), and switch_vertex().

Referenced by polyfem::mesh::refine_polygonal_mesh(), and polyfem::mesh::refine_triangle_mesh().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ next_around_vertex()

Index polyfem::mesh::Navigation::next_around_vertex ( const PolygonMesh &  M,
Index  idx 
)
inline

Definition at line 35 of file Navigation.hpp.

References switch_edge(), and switch_face().

Here is the call graph for this function:

◆ prepare_mesh()

void polyfem::mesh::Navigation::prepare_mesh ( PolygonMesh &  M)

Definition at line 28 of file Navigation.cpp.

Referenced by polyfem::mesh::CMesh2D::append(), polyfem::mesh::CMesh2D::build_topology(), polyfem::mesh::CMesh2D::refine(), and polyfem::mesh::CMesh2D::remove_elements().

Here is the caller graph for this function:

◆ switch_edge()

Index polyfem::mesh::Navigation::switch_edge ( const PolygonMesh &  M,
Index  idx 
)

Definition at line 128 of file Navigation.cpp.

Referenced by get_index_from_face(), next_around_face(), next_around_vertex(), polyfem::mesh::refine_polygonal_mesh(), polyfem::mesh::refine_triangle_mesh(), and polyfem::mesh::CMesh2D::switch_edge().

Here is the caller graph for this function:

◆ switch_face()

Index polyfem::mesh::Navigation::switch_face ( const PolygonMesh &  M,
Index  idx 
)

Definition at line 150 of file Navigation.cpp.

References polyfem::logger().

Referenced by next_around_edge(), next_around_vertex(), and polyfem::mesh::CMesh2D::switch_face().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ switch_vertex()

Index polyfem::mesh::Navigation::switch_vertex ( const PolygonMesh &  M,
Index  idx 
)

Definition at line 107 of file Navigation.cpp.

Referenced by get_index_from_face(), next_around_edge(), next_around_face(), polyfem::mesh::refine_polygonal_mesh(), polyfem::mesh::refine_triangle_mesh(), and polyfem::mesh::CMesh2D::switch_vertex().

Here is the caller graph for this function: