Vulpes  0.1.0
Versatile and parallel compUtational Library for high-order discontinuous Polytopal Element Simulations
Loading...
Searching...
No Matches
vulpes::geometry::Cell2D< FloatType, IndexType > Class Template Reference

#include <cell.hpp>

Public Member Functions

 Cell2D ()=default
 Cell2D (const Mesh2D< FloatType, IndexType > &mesh, IndexType cell_id, CellInitOptionsType cell_init_options=CellInitVtxOnly)
void computeBbox ()
void computeNormals ()
void computeCellDiameter ()
void computeFaceDiameter ()
void computeInscribedDiameter ()
void computeFaceKb ()
void computeMeasure (bool compute_barycenter)
const auto & vtxs () const
auto & vtxs ()
const auto & bbox () const
const auto & normals () const
Eigen::Index nfaces () const
Eigen::Index nedges () const
const auto & barycenter () const
auto diameter () const
auto inscribedDiameter () const
auto measure () const
auto frontierMeasure () const
const auto & faceDiam () const
const auto & faceMeasures () const
const auto & faceKb () const

Protected Member Functions

void init (CellInitOptionsType cell_init_options)

Protected Attributes

Eigen::Matrix< FloatType, 2, -1, Eigen::ColMajor > m_vtxs
Eigen::Matrix< FloatType, 2, -1, Eigen::ColMajor > m_normals
Eigen::Matrix< FloatType, 2, 2 > m_bbox
FloatType m_diameter = 0.0
FloatType m_inscribed_diameter = 0.0
FloatType m_measure = 0.0
FloatType m_frontier_measure = 0.0
Eigen::Vector< FloatType, -1 > m_face_measures
Eigen::Vector< FloatType, 2 > m_barycenter
Eigen::Vector< FloatType, -1 > m_face_diameter
Eigen::Vector< FloatType, -1 > m_face_kb

Constructor & Destructor Documentation

◆ Cell2D() [1/2]

template<typename FloatType, typename IndexType = int32_t>
vulpes::geometry::Cell2D< FloatType, IndexType >::Cell2D ( )
default

◆ Cell2D() [2/2]

template<typename FloatType, typename IndexType>
vulpes::geometry::Cell2D< FloatType, IndexType >::Cell2D ( const Mesh2D< FloatType, IndexType > & mesh,
IndexType cell_id,
CellInitOptionsType cell_init_options = CellInitVtxOnly )

Member Function Documentation

◆ barycenter()

template<typename FloatType, typename IndexType = int32_t>
const auto & vulpes::geometry::Cell2D< FloatType, IndexType >::barycenter ( ) const
inline

◆ bbox()

template<typename FloatType, typename IndexType = int32_t>
const auto & vulpes::geometry::Cell2D< FloatType, IndexType >::bbox ( ) const
inline

◆ computeBbox()

template<typename FloatType, typename IndexType = int32_t>
void vulpes::geometry::Cell2D< FloatType, IndexType >::computeBbox ( )
inline

◆ computeCellDiameter()

template<typename FloatType, typename IndexType>
void vulpes::geometry::Cell2D< FloatType, IndexType >::computeCellDiameter ( )

◆ computeFaceDiameter()

template<typename FloatType, typename IndexType>
void vulpes::geometry::Cell2D< FloatType, IndexType >::computeFaceDiameter ( )

◆ computeFaceKb()

template<typename FloatType, typename IndexType>
void vulpes::geometry::Cell2D< FloatType, IndexType >::computeFaceKb ( )

◆ computeInscribedDiameter()

template<typename FloatType, typename IndexType>
void vulpes::geometry::Cell2D< FloatType, IndexType >::computeInscribedDiameter ( )

◆ computeMeasure()

template<typename FloatType, typename IndexType>
void vulpes::geometry::Cell2D< FloatType, IndexType >::computeMeasure ( bool compute_barycenter)

◆ computeNormals()

template<typename FloatType, typename IndexType>
void vulpes::geometry::Cell2D< FloatType, IndexType >::computeNormals ( )

◆ diameter()

template<typename FloatType, typename IndexType = int32_t>
auto vulpes::geometry::Cell2D< FloatType, IndexType >::diameter ( ) const
inline

◆ faceDiam()

template<typename FloatType, typename IndexType = int32_t>
const auto & vulpes::geometry::Cell2D< FloatType, IndexType >::faceDiam ( ) const
inline

◆ faceKb()

template<typename FloatType, typename IndexType = int32_t>
const auto & vulpes::geometry::Cell2D< FloatType, IndexType >::faceKb ( ) const
inline

◆ faceMeasures()

template<typename FloatType, typename IndexType = int32_t>
const auto & vulpes::geometry::Cell2D< FloatType, IndexType >::faceMeasures ( ) const
inline

◆ frontierMeasure()

template<typename FloatType, typename IndexType = int32_t>
auto vulpes::geometry::Cell2D< FloatType, IndexType >::frontierMeasure ( ) const
inline

◆ init()

template<typename FloatType, typename IndexType>
void vulpes::geometry::Cell2D< FloatType, IndexType >::init ( CellInitOptionsType cell_init_options)
protected

◆ inscribedDiameter()

template<typename FloatType, typename IndexType = int32_t>
auto vulpes::geometry::Cell2D< FloatType, IndexType >::inscribedDiameter ( ) const
inline

◆ measure()

template<typename FloatType, typename IndexType = int32_t>
auto vulpes::geometry::Cell2D< FloatType, IndexType >::measure ( ) const
inline

◆ nedges()

template<typename FloatType, typename IndexType = int32_t>
Eigen::Index vulpes::geometry::Cell2D< FloatType, IndexType >::nedges ( ) const
inline

◆ nfaces()

template<typename FloatType, typename IndexType = int32_t>
Eigen::Index vulpes::geometry::Cell2D< FloatType, IndexType >::nfaces ( ) const
inline

◆ normals()

template<typename FloatType, typename IndexType = int32_t>
const auto & vulpes::geometry::Cell2D< FloatType, IndexType >::normals ( ) const
inline

◆ vtxs() [1/2]

template<typename FloatType, typename IndexType = int32_t>
auto & vulpes::geometry::Cell2D< FloatType, IndexType >::vtxs ( )
inline

◆ vtxs() [2/2]

template<typename FloatType, typename IndexType = int32_t>
const auto & vulpes::geometry::Cell2D< FloatType, IndexType >::vtxs ( ) const
inline

Member Data Documentation

◆ m_barycenter

template<typename FloatType, typename IndexType = int32_t>
Eigen::Vector<FloatType, 2> vulpes::geometry::Cell2D< FloatType, IndexType >::m_barycenter
protected

◆ m_bbox

template<typename FloatType, typename IndexType = int32_t>
Eigen::Matrix<FloatType, 2, 2> vulpes::geometry::Cell2D< FloatType, IndexType >::m_bbox
protected

◆ m_diameter

template<typename FloatType, typename IndexType = int32_t>
FloatType vulpes::geometry::Cell2D< FloatType, IndexType >::m_diameter = 0.0
protected

◆ m_face_diameter

template<typename FloatType, typename IndexType = int32_t>
Eigen::Vector<FloatType, -1> vulpes::geometry::Cell2D< FloatType, IndexType >::m_face_diameter
protected

◆ m_face_kb

template<typename FloatType, typename IndexType = int32_t>
Eigen::Vector<FloatType, -1> vulpes::geometry::Cell2D< FloatType, IndexType >::m_face_kb
protected

◆ m_face_measures

template<typename FloatType, typename IndexType = int32_t>
Eigen::Vector<FloatType, -1> vulpes::geometry::Cell2D< FloatType, IndexType >::m_face_measures
protected

◆ m_frontier_measure

template<typename FloatType, typename IndexType = int32_t>
FloatType vulpes::geometry::Cell2D< FloatType, IndexType >::m_frontier_measure = 0.0
protected

◆ m_inscribed_diameter

template<typename FloatType, typename IndexType = int32_t>
FloatType vulpes::geometry::Cell2D< FloatType, IndexType >::m_inscribed_diameter = 0.0
protected

◆ m_measure

template<typename FloatType, typename IndexType = int32_t>
FloatType vulpes::geometry::Cell2D< FloatType, IndexType >::m_measure = 0.0
protected

◆ m_normals

template<typename FloatType, typename IndexType = int32_t>
Eigen::Matrix<FloatType, 2, -1, Eigen::ColMajor> vulpes::geometry::Cell2D< FloatType, IndexType >::m_normals
protected

◆ m_vtxs

template<typename FloatType, typename IndexType = int32_t>
Eigen::Matrix<FloatType, 2, -1, Eigen::ColMajor> vulpes::geometry::Cell2D< FloatType, IndexType >::m_vtxs
protected

The documentation for this class was generated from the following files:
  • /__w/vulpes/vulpes/vulpes/geometry/cell.hpp
  • /__w/vulpes/vulpes/vulpes/geometry/cell.cpp