PolyFEM
Loading...
Searching...
No Matches
polyfem::mesh::StandardCell Struct Reference

A standard cell referencing global vertex indices. More...

#include <CellConnectivity.hpp>

Collaboration diagram for polyfem::mesh::StandardCell:
[legend]

Public Member Functions

 StandardCell (const StandardCellType type)
 
const CellDescriptor & descriptor () const
 
int n_facets () const
 
int n_facet_vertices (const int lf) const
 
int facet_vertex (const int lf, const int lv) const
 

Public Attributes

StandardCellType type
 
const CellDescriptor * desc
 
std::array< int, 8 > vertices
 

Detailed Description

A standard cell referencing global vertex indices.

Definition at line 34 of file CellConnectivity.hpp.

Constructor & Destructor Documentation

◆ StandardCell()

polyfem::mesh::StandardCell::StandardCell ( const StandardCellType  type)
inlineexplicit

Definition at line 36 of file CellConnectivity.hpp.

References vertices.

Member Function Documentation

◆ descriptor()

const CellDescriptor & polyfem::mesh::StandardCell::descriptor ( ) const
inline

Definition at line 46 of file CellConnectivity.hpp.

References desc.

Referenced by facet_vertex(), n_facet_vertices(), and n_facets().

Here is the caller graph for this function:

◆ facet_vertex()

int polyfem::mesh::StandardCell::facet_vertex ( const int  lf,
const int  lv 
) const
inline

Definition at line 49 of file CellConnectivity.hpp.

References descriptor(), polyfem::mesh::CellDescriptor::facet_vertex, and vertices.

Referenced by polyfem::mesh::connect_cells().

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

◆ n_facet_vertices()

int polyfem::mesh::StandardCell::n_facet_vertices ( const int  lf) const
inline

Definition at line 48 of file CellConnectivity.hpp.

References descriptor(), and polyfem::mesh::CellDescriptor::n_facet_vertices.

Here is the call graph for this function:

◆ n_facets()

int polyfem::mesh::StandardCell::n_facets ( ) const
inline

Definition at line 47 of file CellConnectivity.hpp.

References descriptor(), and polyfem::mesh::CellDescriptor::n_facets.

Here is the call graph for this function:

Member Data Documentation

◆ desc

const CellDescriptor* polyfem::mesh::StandardCell::desc

Definition at line 43 of file CellConnectivity.hpp.

Referenced by descriptor().

◆ type

StandardCellType polyfem::mesh::StandardCell::type

Definition at line 42 of file CellConnectivity.hpp.

◆ vertices

std::array<int, 8> polyfem::mesh::StandardCell::vertices

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