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

#include <cell.hpp>

Collaboration diagram for vulpes::geometry::Cell3D< FloatType, IndexType >:
[legend]

Public Member Functions

 Cell3D ()=default
 Cell3D (const datastructure::CrsMapUncompressed< IndexType > &faces, const std::vector< Point< FloatType, 3 > > &coords, CellInitOptionsType cell_init_options=CellInitAll)
 Cell3D (const Mesh3D< FloatType, IndexType > &mesh, IndexType cell_id, CellInitOptionsType cell_init_options=CellInitVtxOnly)
void computeBbox ()
void init (CellInitOptionsType cell_init_options)
void computeCellDiameter ()
void computeMeasure (bool compute_barycenter)
void computeNormals ()
void computeInscribedDiameter ()
void computeFaceDiameter ()
void computeFaceKb ()
const auto & vtxs () const
auto & vtxs ()
const auto & faces () const
Eigen::Index nfaces () const
Eigen::Index nedges () const
const auto & normals () const
const auto & edges () const
const auto & getEdgeToFaces () const
const auto & getFaceCenterIdx () const
const auto & getEdgesToCompute () const
const auto & getVtxToFace () const
const auto & bbox () const
const auto & barycenter () const
auto diameter () const
auto measure () const
auto frontierMeasure () const
const auto & faceDiam () const
const auto & faceMeasures () const
const auto & faceKb () const

Protected Member Functions

void buildEdgeToFace ()
void buildInverseMaps ()
void findEdgesToCompute ()

Protected Attributes

bool m_local_map_built = false
bool m_inverse_map_built = false
bool m_edges_to_compute_built = false
datastructure::CrsMap< IndexType, IndexType > m_faces
std::vector< std::array< IndexType, 2 > > m_edges
Eigen::Matrix< FloatType, 3, -1 > m_vtxs
Eigen::Matrix< FloatType, 3, 2 > m_bbox
Eigen::Matrix< FloatType, 3, -1 > m_normals
std::vector< std::array< IndexType, 2 > > m_edges_to_faces
std::vector< IndexType > m_face_xF_idx
std::vector< IndexType > m_edges_to_compute
datastructure::CrsMap< IndexType, IndexType > m_vtx_to_faces
datastructure::CrsMap< IndexType, IndexType > m_vtx_to_edge
datastructure::CrsMap< IndexType, IndexType > m_face_to_edge
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, 3 > m_barycenter
Eigen::Vector< FloatType, -1 > m_face_diameter
Eigen::Vector< FloatType, -1 > m_face_kb

Constructor & Destructor Documentation

◆ Cell3D() [1/3]

template<typename FloatType, typename IndexType>
vulpes::geometry::Cell3D< FloatType, IndexType >::Cell3D ( )
default

◆ Cell3D() [2/3]

template<typename FloatType, typename IndexType>
vulpes::geometry::Cell3D< FloatType, IndexType >::Cell3D ( const datastructure::CrsMapUncompressed< IndexType > & faces,
const std::vector< Point< FloatType, 3 > > & coords,
CellInitOptionsType cell_init_options = CellInitAll )

◆ Cell3D() [3/3]

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

Member Function Documentation

◆ barycenter()

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

◆ bbox()

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

◆ buildEdgeToFace()

template<typename FloatType, typename IndexType>
void vulpes::geometry::Cell3D< FloatType, IndexType >::buildEdgeToFace ( )
protected

◆ buildInverseMaps()

template<typename FloatType, typename IndexType>
void vulpes::geometry::Cell3D< FloatType, IndexType >::buildInverseMaps ( )
protected

◆ computeBbox()

template<typename FloatType, typename IndexType>
void vulpes::geometry::Cell3D< FloatType, IndexType >::computeBbox ( )
inline

◆ computeCellDiameter()

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

◆ computeFaceDiameter()

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

◆ computeFaceKb()

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

◆ computeInscribedDiameter()

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

◆ computeMeasure()

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

◆ computeNormals()

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

◆ diameter()

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

◆ edges()

template<typename FloatType, typename IndexType>
const auto & vulpes::geometry::Cell3D< FloatType, IndexType >::edges ( ) const
inline

◆ faceDiam()

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

◆ faceKb()

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

◆ faceMeasures()

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

◆ faces()

template<typename FloatType, typename IndexType>
const auto & vulpes::geometry::Cell3D< FloatType, IndexType >::faces ( ) const
inline

◆ findEdgesToCompute()

template<typename FloatType, typename IndexType>
void vulpes::geometry::Cell3D< FloatType, IndexType >::findEdgesToCompute ( )
protected

◆ frontierMeasure()

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

◆ getEdgesToCompute()

template<typename FloatType, typename IndexType>
const auto & vulpes::geometry::Cell3D< FloatType, IndexType >::getEdgesToCompute ( ) const
inline

◆ getEdgeToFaces()

template<typename FloatType, typename IndexType>
const auto & vulpes::geometry::Cell3D< FloatType, IndexType >::getEdgeToFaces ( ) const
inline

◆ getFaceCenterIdx()

template<typename FloatType, typename IndexType>
const auto & vulpes::geometry::Cell3D< FloatType, IndexType >::getFaceCenterIdx ( ) const
inline

◆ getVtxToFace()

template<typename FloatType, typename IndexType>
const auto & vulpes::geometry::Cell3D< FloatType, IndexType >::getVtxToFace ( ) const
inline

◆ init()

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

◆ measure()

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

◆ nedges()

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

◆ nfaces()

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

◆ normals()

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

◆ vtxs() [1/2]

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

◆ vtxs() [2/2]

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

Member Data Documentation

◆ m_barycenter

template<typename FloatType, typename IndexType>
Eigen::Vector<FloatType, 3> vulpes::geometry::Cell3D< FloatType, IndexType >::m_barycenter
protected

◆ m_bbox

template<typename FloatType, typename IndexType>
Eigen::Matrix<FloatType, 3, 2> vulpes::geometry::Cell3D< FloatType, IndexType >::m_bbox
protected

◆ m_diameter

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

◆ m_edges

template<typename FloatType, typename IndexType>
std::vector<std::array<IndexType, 2> > vulpes::geometry::Cell3D< FloatType, IndexType >::m_edges
protected

◆ m_edges_to_compute

template<typename FloatType, typename IndexType>
std::vector<IndexType> vulpes::geometry::Cell3D< FloatType, IndexType >::m_edges_to_compute
protected

◆ m_edges_to_compute_built

template<typename FloatType, typename IndexType>
bool vulpes::geometry::Cell3D< FloatType, IndexType >::m_edges_to_compute_built = false
protected

◆ m_edges_to_faces

template<typename FloatType, typename IndexType>
std::vector<std::array<IndexType, 2> > vulpes::geometry::Cell3D< FloatType, IndexType >::m_edges_to_faces
protected

◆ m_face_diameter

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

◆ m_face_kb

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

◆ m_face_measures

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

◆ m_face_to_edge

template<typename FloatType, typename IndexType>
datastructure::CrsMap<IndexType, IndexType> vulpes::geometry::Cell3D< FloatType, IndexType >::m_face_to_edge
protected

◆ m_face_xF_idx

template<typename FloatType, typename IndexType>
std::vector<IndexType> vulpes::geometry::Cell3D< FloatType, IndexType >::m_face_xF_idx
protected

◆ m_faces

template<typename FloatType, typename IndexType>
datastructure::CrsMap<IndexType, IndexType> vulpes::geometry::Cell3D< FloatType, IndexType >::m_faces
protected

◆ m_frontier_measure

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

◆ m_inscribed_diameter

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

◆ m_inverse_map_built

template<typename FloatType, typename IndexType>
bool vulpes::geometry::Cell3D< FloatType, IndexType >::m_inverse_map_built = false
protected

◆ m_local_map_built

template<typename FloatType, typename IndexType>
bool vulpes::geometry::Cell3D< FloatType, IndexType >::m_local_map_built = false
protected

◆ m_measure

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

◆ m_normals

template<typename FloatType, typename IndexType>
Eigen::Matrix<FloatType, 3, -1> vulpes::geometry::Cell3D< FloatType, IndexType >::m_normals
protected

◆ m_vtx_to_edge

template<typename FloatType, typename IndexType>
datastructure::CrsMap<IndexType, IndexType> vulpes::geometry::Cell3D< FloatType, IndexType >::m_vtx_to_edge
protected

◆ m_vtx_to_faces

template<typename FloatType, typename IndexType>
datastructure::CrsMap<IndexType, IndexType> vulpes::geometry::Cell3D< FloatType, IndexType >::m_vtx_to_faces
protected

◆ m_vtxs

template<typename FloatType, typename IndexType>
Eigen::Matrix<FloatType, 3, -1> vulpes::geometry::Cell3D< 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