PolyDEAL
 
Loading...
Searching...
No Matches
dealii::internal::PolytopeCache< dim, spacedim > Class Template Reference

#include <agglomeration_handler.h>

Public Member Functions

 PolytopeCache ()=default
 
 ~PolytopeCache ()=default
 
void clear ()
 

Public Attributes

std::set< std::pair< types::global_cell_index, unsigned int > > visited_cell_and_faces
 
std::set< std::pair< CellId, unsigned int > > visited_cell_and_faces_id
 
std::map< std::pair< types::global_cell_index, unsigned int >, std::pair< bool, typename Triangulation< dim, spacedim >::active_cell_iterator > > cell_face_at_boundary
 
std::map< std::pair< CellId, unsigned int >, CellIdghosted_master_id
 
std::map< std::pair< CellId, CellId >, std::vector< std::pair< typename Triangulation< dim, spacedim >::active_cell_iterator, unsigned int > > > interface
 

Detailed Description

template<int dim, int spacedim>
class dealii::internal::PolytopeCache< dim, spacedim >

Definition at line 87 of file agglomeration_handler.h.

Constructor & Destructor Documentation

◆ PolytopeCache()

template<int dim, int spacedim>
dealii::internal::PolytopeCache< dim, spacedim >::PolytopeCache ( )
default

Default constructor.

◆ ~PolytopeCache()

template<int dim, int spacedim>
dealii::internal::PolytopeCache< dim, spacedim >::~PolytopeCache ( )
default

Destructor. It simply calls clear() for all of its members.

Member Function Documentation

◆ clear()

Member Data Documentation

◆ cell_face_at_boundary

template<int dim, int spacedim>
std::map< std::pair<types::global_cell_index, unsigned int>, std::pair<bool, typename Triangulation<dim, spacedim>::active_cell_iterator> > dealii::internal::PolytopeCache< dim, spacedim >::cell_face_at_boundary
mutable

Map that associate the pair of (polytopal index, polytopal face) to (b,cell). The latter pair indicates whether or not the present face is on boundary. If it's on the boundary, then b is true and cell is an invalid cell iterator. Otherwise, b is false and cell points to the neighboring polytopal cell.

Definition at line 137 of file agglomeration_handler.h.

Referenced by dealii::internal::PolytopeCache< dim, spacedim >::clear().

◆ ghosted_master_id

template<int dim, int spacedim>
std::map<std::pair<CellId, unsigned int>, CellId> dealii::internal::PolytopeCache< dim, spacedim >::ghosted_master_id
mutable

Map that associate the local pair of (polytope id, polytopal face) to the master id of the neighboring ghosted cell.

Definition at line 144 of file agglomeration_handler.h.

◆ interface

template<int dim, int spacedim>
std::map< std::pair<CellId, CellId>, std::vector< std::pair<typename Triangulation<dim, spacedim>::active_cell_iterator, unsigned int> > > dealii::internal::PolytopeCache< dim, spacedim >::interface
mutable

Standard std::map that associated to a pair of neighboring polytopic cells (current_polytope, neighboring_polytope) a sequence of ({deal_cell,deal_face_index}) which is meant to describe their interface. Indeed, the pair is identified by the two polytopic global indices, while the interface is described by a std::vector of deal.II cells and faces.

Definition at line 161 of file agglomeration_handler.h.

Referenced by dealii::internal::PolytopeCache< dim, spacedim >::clear().

◆ visited_cell_and_faces

template<int dim, int spacedim>
std::set<std::pair<types::global_cell_index, unsigned int> > dealii::internal::PolytopeCache< dim, spacedim >::visited_cell_and_faces
mutable

Standard std::set for recording the standard cells and faces (in the deal.II lingo) that have been already visited. The first argument of the pair identifies the global index of a deal.II cell, while the second its local face number.

Definition at line 117 of file agglomeration_handler.h.

Referenced by dealii::internal::PolytopeCache< dim, spacedim >::clear().

◆ visited_cell_and_faces_id

template<int dim, int spacedim>
std::set<std::pair<CellId, unsigned int> > dealii::internal::PolytopeCache< dim, spacedim >::visited_cell_and_faces_id
mutable

Definition at line 121 of file agglomeration_handler.h.


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