Wildmeshing Toolkit
wmtk::Cell Class Reference

#include <Cell.hpp>

Collaboration diagram for wmtk::Cell:
[legend]

Public Member Functions

 Cell (const Tuple &t, int64_t dimension)
 
 Cell (const simplex::Simplex &simplex)
 
 Cell (const Tuple &t, PrimitiveType pt)
 
int64_t dimension () const
 
const Tupletuple () const
 
bool operator== (const Cell &o) const
 
bool operator< (const Cell &o) const
 

Static Public Member Functions

static Cell vertex (const Tuple &t)
 
static Cell edge (const Tuple &t)
 
static Cell face (const Tuple &t)
 
static Cell tetrahedron (const Tuple &t)
 

Private Attributes

Tuple m_tuple
 
int64_t m_dimension
 

Detailed Description

Definition at line 11 of file Cell.hpp.

Constructor & Destructor Documentation

◆ Cell() [1/3]

wmtk::Cell::Cell ( const Tuple t,
int64_t  dimension 
)

Definition at line 7 of file Cell.cpp.

Referenced by edge(), face(), tetrahedron(), and vertex().

Here is the caller graph for this function:

◆ Cell() [2/3]

wmtk::Cell::Cell ( const simplex::Simplex simplex)

Definition at line 12 of file Cell.cpp.

◆ Cell() [3/3]

wmtk::Cell::Cell ( const Tuple t,
PrimitiveType  pt 
)

Definition at line 17 of file Cell.cpp.

Member Function Documentation

◆ dimension()

int64_t wmtk::Cell::dimension ( ) const

Definition at line 22 of file Cell.cpp.

References m_dimension.

◆ edge()

Cell wmtk::Cell::edge ( const Tuple t)
static

Definition at line 35 of file Cell.cpp.

References Cell().

Here is the call graph for this function:

◆ face()

Cell wmtk::Cell::face ( const Tuple t)
static

Definition at line 39 of file Cell.cpp.

References Cell().

Here is the call graph for this function:

◆ operator<()

bool wmtk::Cell::operator< ( const Cell o) const

Definition at line 53 of file Cell.cpp.

References m_dimension, and m_tuple.

◆ operator==()

bool wmtk::Cell::operator== ( const Cell o) const

Definition at line 48 of file Cell.cpp.

References m_dimension, and m_tuple.

◆ tetrahedron()

Cell wmtk::Cell::tetrahedron ( const Tuple t)
static

Definition at line 43 of file Cell.cpp.

References Cell().

Here is the call graph for this function:

◆ tuple()

const Tuple & wmtk::Cell::tuple ( ) const

Definition at line 26 of file Cell.cpp.

References m_tuple.

◆ vertex()

Cell wmtk::Cell::vertex ( const Tuple t)
static

Definition at line 31 of file Cell.cpp.

References Cell().

Here is the call graph for this function:

Member Data Documentation

◆ m_dimension

int64_t wmtk::Cell::m_dimension
private

Definition at line 14 of file Cell.hpp.

Referenced by dimension(), operator<(), and operator==().

◆ m_tuple

Tuple wmtk::Cell::m_tuple
private

Definition at line 13 of file Cell.hpp.

Referenced by operator<(), operator==(), and tuple().


The documentation for this class was generated from the following files: