Feel++ 0.111.0-preview.14
Finite Element Embedded Library in C++
Feel::FaceDof< SizeT > Struct Template Reference

Describe a Dof on a Face. More...

+ Inheritance diagram for Feel::FaceDof< SizeT >:
+ Collaboration diagram for Feel::FaceDof< SizeT >:

Public Types

using size_type = SizeT
 
typedef std::tuple< SizeT, int16_type, bool, uint16_type, uint16_type > super
 

Constructors, destructor

 FaceDof ()
 default constructor
 
 FaceDof (size_type gid)
 
 FaceDof (std::tuple< size_type, int16_type, bool > const &t)
 
 FaceDof (super const &t)
 
 FaceDof (size_type _index, int16_type _sign, bool per, uint16_type ld)
 
 FaceDof (Dof< size_type > const &d, uint16_type ldinface, uint16_type ldinelt)
 
 FaceDof (FaceDof const &dof)
 copy constructor
 
 ~FaceDof ()
 destructor
 

Operator overloads

FaceDof & operator= (FaceDof const &o)
 copy operator
 
FaceDof & operator= (FaceDof &&o)=default
 
FaceDof & operator= (size_type t)
 
FaceDof & operator= (std::tuple< size_type, int16_type, bool > const &t)
 

Accessors

size_type index () const
 
int16_type sign () const
 
bool isPeriodic () const
 
uint16_type localDof () const
 
uint16_type localDofInFace () const
 
uint16_type localDofInEntity () const
 
uint16_type localDofInElement () const
 

Mutators

void setIndex (size_type id)
 

Detailed Description

template<typename SizeT = uint32_type>
struct Feel::FaceDof< SizeT >

Describe a Dof on a Face.

the data structure is a tuple containing

  • global dof id
  • sign of the dof
  • is dof periodic
  • local dof id in element
  • local dof id in face

Member Function Documentation

◆ index()

template<typename SizeT = uint32_type>
size_type Feel::FaceDof< SizeT >::index ( ) const
Returns
the global index

◆ isPeriodic()

template<typename SizeT = uint32_type>
bool Feel::FaceDof< SizeT >::isPeriodic ( ) const
Returns
if periodic

◆ localDof()

template<typename SizeT = uint32_type>
uint16_type Feel::FaceDof< SizeT >::localDof ( ) const
Returns
the local dof in the element

◆ localDofInElement()

template<typename SizeT = uint32_type>
uint16_type Feel::FaceDof< SizeT >::localDofInElement ( ) const
Returns
the local dof in element

◆ localDofInEntity()

template<typename SizeT = uint32_type>
uint16_type Feel::FaceDof< SizeT >::localDofInEntity ( ) const
Returns
the local dof in the face

◆ localDofInFace()

template<typename SizeT = uint32_type>
uint16_type Feel::FaceDof< SizeT >::localDofInFace ( ) const
Returns
the local dof in the face

◆ sign()

template<typename SizeT = uint32_type>
int16_type Feel::FaceDof< SizeT >::sign ( ) const
Returns
the sign