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

class that represents a degree of freedom More...

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

Typedefs

using size_type = SizeT
 

Constructors, destructor

 Dof ()
 default constructor
 
 Dof (size_type gid)
 
 Dof (size_type gid, int16_type s)
 
 Dof (std::tuple< size_type, int16_type, bool > const &t)
 
 Dof (size_type _index, int16_type _sign, bool per)
 
 Dof (Dof const &dof)
 copy constructor
 
 Dof (Dof &&d)=default
 move constructor
 
 ~Dof ()
 destructor
 

Operator overloads

Dof & operator= (Dof const &o)=default
 copy operator
 
Dof & operator= (Dof &&d)=default
 move operator=
 
Dof & operator= (size_type t)
 
Dof & operator= (std::tuple< size_type, int16_type, bool > const &t)
 
bool operator< (const Dof &a, const Dof &b)
 
bool operator== (const Dof &a, const Dof &b)
 
bool operator!= (const Dof &a, const Dof &b)
 

Accessors

size_type index () const
 
int16_type sign () const
 
bool isPeriodic () const
 

Mutators

void setIndex (size_type id)
 
void set (size_type _index, int16_type _sign, bool per)
 set the global dof
 

Detailed Description

template<typename SizeT = uint32_type>
class Feel::Dof< SizeT >

class that represents a degree of freedom

See also
DofTable, FaceDof

Member Function Documentation

◆ index()

template<typename SizeT = uint32_type>
size_type Feel::Dof< SizeT >::index ( ) const

◆ isPeriodic()

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

◆ sign()

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