Logo  0.95.0-final
Finite Element Embedded Library and Language in C++
Feel++ Feel++ on Github Feel++ community
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Feel::Dof Class Reference

#include <dof.hpp>

Detailed Description

class that represents a degree of freedom

Author
Christophe Prud'homme
See Also

Inherits tuple< size_type, int16_type, bool, uint16_type, bool, size_type >.

Public Member Functions

Constructors, destructor
 Dof ()
 default constructor
 
 Dof (size_type gid)
 
 Dof (boost::tuple< size_type, int16_type, bool > const &t)
 
 Dof (size_type _index, int16_type _sign, bool per, uint16_type _entity=0, bool _location=false, size_type _marker=0)
 
 Dof (Dof const &dof)
 copy constructor
 
 ~Dof ()
 destructor
 
Operator overloads
Dofoperator= (Dof const &o)
 copy operator
 
Dofoperator= (size_type t)
 
Dofoperator= (boost::tuple< size_type, int16_type, bool > const &t)
 
Accessors
size_type index () const
 
int16_type sign () const
 
bool isPeriodic () const
 
uint16_type entity () const
 
bool isOnBoundary () const
 
size_type marker () const
 
ublas::vector< double > const & coords () const
 
Mutators
void setIndex (size_type id)
 
void setCoordinates (ublas::vector< double > const &coords)
 

Member Function Documentation

ublas::vector<double> const& Feel::Dof::coords ( ) const
inline
Returns
the coordinates
uint16_type Feel::Dof::entity ( ) const
inline
Returns
the entity type (0: vertex, 1:edge, 2:face, 3:volume)
size_type Feel::Dof::index ( ) const
inline
Returns
the global index
bool Feel::Dof::isOnBoundary ( ) const
inline
Returns
the location
bool Feel::Dof::isPeriodic ( ) const
inline
Returns
if periodic
size_type Feel::Dof::marker ( ) const
inline
Returns
the marker
void Feel::Dof::setCoordinates ( ublas::vector< double > const &  coords)
inline

dof coordinates

References coords().

int16_type Feel::Dof::sign ( ) const
inline
Returns
the sign

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

Generated on Fri Oct 25 2013 14:24:28 for Feel++ by doxygen 1.8.4