PolyFEM
Loading...
Searching...
No Matches
polyfem::mesh::NCMesh3D::ncBoundary Struct Reference

#include <NCMesh3D.hpp>

Collaboration diagram for polyfem::mesh::NCMesh3D::ncBoundary:
[legend]

Public Member Functions

 ncBoundary (const Eigen::VectorXi &vert)
 
int n_elem () const
 
void add_element (const int e)
 
void remove_element (const int e)
 
int get_element () const
 
int find_opposite_element (int e) const
 

Public Attributes

SortedIds elem_list
 
InlineVector< int, 3 > vertices
 
bool isboundary = false
 
int boundary_id = -1
 
int leader = -1
 
std::vector< int > followers
 
int leader_face = -1
 
std::vector< int > global_ids
 
Eigen::Vector2d weights
 

Detailed Description

Definition at line 94 of file NCMesh3D.hpp.

Constructor & Destructor Documentation

◆ ncBoundary()

polyfem::mesh::NCMesh3D::ncBoundary::ncBoundary ( const Eigen::VectorXi &  vert)
inline

Definition at line 96 of file NCMesh3D.hpp.

References weights.

Member Function Documentation

◆ add_element()

void polyfem::mesh::NCMesh3D::ncBoundary::add_element ( const int  e)
inline

Definition at line 106 of file NCMesh3D.hpp.

References elem_list, and polyfem::mesh::SortedIds::insert().

Here is the call graph for this function:

◆ find_opposite_element()

int polyfem::mesh::NCMesh3D::ncBoundary::find_opposite_element ( int  e) const
inline

Definition at line 124 of file NCMesh3D.hpp.

References elem_list, and n_elem().

Here is the call graph for this function:

◆ get_element()

int polyfem::mesh::NCMesh3D::ncBoundary::get_element ( ) const
inline

Definition at line 117 of file NCMesh3D.hpp.

References polyfem::mesh::SortedIds::cbegin(), elem_list, and n_elem().

Here is the call graph for this function:

◆ n_elem()

int polyfem::mesh::NCMesh3D::ncBoundary::n_elem ( ) const
inline

Definition at line 101 of file NCMesh3D.hpp.

References elem_list, and polyfem::mesh::SortedIds::size().

Referenced by find_opposite_element(), and get_element().

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

◆ remove_element()

void polyfem::mesh::NCMesh3D::ncBoundary::remove_element ( const int  e)
inline

Definition at line 111 of file NCMesh3D.hpp.

References elem_list, and polyfem::mesh::SortedIds::erase().

Here is the call graph for this function:

Member Data Documentation

◆ boundary_id

int polyfem::mesh::NCMesh3D::ncBoundary::boundary_id = -1

Definition at line 144 of file NCMesh3D.hpp.

Referenced by polyfem::mesh::NCMesh3D::append().

◆ elem_list

SortedIds polyfem::mesh::NCMesh3D::ncBoundary::elem_list

Definition at line 140 of file NCMesh3D.hpp.

Referenced by add_element(), find_opposite_element(), get_element(), n_elem(), and remove_element().

◆ followers

std::vector<int> polyfem::mesh::NCMesh3D::ncBoundary::followers

Definition at line 147 of file NCMesh3D.hpp.

◆ global_ids

std::vector<int> polyfem::mesh::NCMesh3D::ncBoundary::global_ids

Definition at line 151 of file NCMesh3D.hpp.

◆ isboundary

bool polyfem::mesh::NCMesh3D::ncBoundary::isboundary = false

Definition at line 143 of file NCMesh3D.hpp.

◆ leader

int polyfem::mesh::NCMesh3D::ncBoundary::leader = -1

Definition at line 146 of file NCMesh3D.hpp.

◆ leader_face

int polyfem::mesh::NCMesh3D::ncBoundary::leader_face = -1

Definition at line 149 of file NCMesh3D.hpp.

◆ vertices

InlineVector<int, 3> polyfem::mesh::NCMesh3D::ncBoundary::vertices

Definition at line 141 of file NCMesh3D.hpp.

◆ weights

Eigen::Vector2d polyfem::mesh::NCMesh3D::ncBoundary::weights

Definition at line 154 of file NCMesh3D.hpp.

Referenced by ncBoundary().


The documentation for this struct was generated from the following file: