Feel++ 0.111.0-preview.14
Finite Element Embedded Library in C++
Feel::SubFaceOf< ElementType > Class Template Reference

description of a subface or facet (topological d-1) of an element of topologicql dimension d More...

+ Inheritance diagram for Feel::SubFaceOf< ElementType >:
+ Collaboration diagram for Feel::SubFaceOf< ElementType >:

Classes

struct  Element
 

Public Types

typedef boost::tuple< ElementType const *, uint16_type > element_connectivity_type
 
typedef ElementType entity_type
 
using index_type = typename ElementType::index_type
 
using size_type = typename ElementType::size_type
 

Public Member Functions

size_type ad_first () const
 
size_type ad_second () const
 
SubFaceOf const & connectedTo () const
 
element_connectivity_type const & connection0 () const
 
element_connectivity_type const & connection1 () const
 
void disconnect ()
 
void disconnect (ElementType const &elem)
 
void disconnect0 ()
 
void disconnect1 ()
 
entity_type const & element (uint16_type e) const
 
entity_type const & element0 () const
 
entity_type const * element0Ptr () const
 
entity_type const & element1 () const
 
entity_type const * element1Ptr () const
 
size_type idElement0 () const
 
size_type idElement1 () const
 
uint16_type idInElement (uint16_type e) const
 return face index in a connected element (0 or 1)
 
uint16_type idInElement0 () const
 
uint16_type idInElement1 () const
 
bool isConnected () const
 
bool isConnectedTo0 () const
 
bool isConnectedTo1 () const
 
bool isGhostFace (rank_type p) const
 say if the face is a ghost or not for process id p More...
 
bool isInterProcessDomain (rank_type p) const
 
bool isIntraProcessDomain (rank_type p) const
 
SubFaceOf & operator= (SubFaceOf &&sf)
 
SubFaceOf & operator= (SubFaceOf const &sf)=default
 
rank_type partition1 (rank_type p) const
 
rank_type partition2 (size_type p) const
 
rank_type pidElement0 () const
 
rank_type pidElement1 () const
 
uint16_type pos_first () const
 
uint16_type pos_second () const
 
rank_type proc_first () const
 
rank_type proc_second () const
 
void setConnection (uint16_type f, element_connectivity_type const &connect)
 
void setConnection0 (element_connectivity_type const &connect)
 
void setConnection1 (element_connectivity_type const &connect)
 
 SubFaceOf (element_connectivity_type const &connect0)
 
 SubFaceOf (element_connectivity_type const &connect0, element_connectivity_type const &connect1)
 
 SubFaceOf (SubFaceOf &&sf)
 
 SubFaceOf (SubFaceOf const &sf)
 
template<typename TheEltType >
 SubFaceOf (SubFaceOf< TheEltType > const &, std::enable_if_t< !std::is_same< TheEltType, entity_type >::value > *=nullptr)
 
template<int SFoD>
 SubFaceOf (SubFaceOfNone< SFoD > const &, std::enable_if_t< SFoD==nDim||SFoD==0 > *=nullptr)
 
template<typename MeshSupportT >
SubFaceOf updateConnectionFromMeshSupport (std::shared_ptr< MeshSupportT > const &ms)
 

Static Public Attributes

static const uint16_type nDim = ElementType::nDim
 

Friends

class boost::serialization::access
 

Detailed Description

template<typename ElementType>
class Feel::SubFaceOf< ElementType >

description of a subface or facet (topological d-1) of an element of topologicql dimension d

Template Parameters
ElementTypetype of the element

Member Function Documentation

◆ isGhostFace()

template<typename ElementType >
bool Feel::SubFaceOf< ElementType >::isGhostFace ( rank_type  p) const

say if the face is a ghost or not for process id p

a face is a ghost face on process rank p if the process id is greater than p

Parameters
pthe rank of the communicator
Returns
true if the face is a ghost face
false otherwise