Class xlifepp::RefDof#

class RefDof#

A RefDof object represents a generalized Degree of Freedom in a reference element.

Public Functions

RefDof(RefElement *relt, bool sh, DofLocalization w, number_t supNum, number_t ind, dimen_t e_dim, dimen_t s_dim, number_t nodeNum = 0, dimen_t di = 1, number_t ord = 0, ProjectionType proj_t = _noProjection, DiffOpType dop = _id, const string_t &nm = "nodal value")#

constructor

general constructor

~RefDof()#

destructor

inline std::vector<real_t>::const_iterator coords()#

return iterator to vector of coordinates

void coords(const real_t)#

set 1D coordinate

void coords(const real_t, const real_t)#

set 2D coordinates

void coords(const real_t, const real_t, const real_t)#

set 3D coordinates

void coords(const std::vector<real_t>&)#

set D.o.F coordinates

inline dimen_t dim() const#

get DoF dimension

inline number_t index() const#

get rank of dof in set of dofs on a support

inline string_t name() const#

returns name

inline number_t nodeNumber() const#

get rank of a point dof in list of all point dofs

inline number_t order() const#

get DoF order of derivation

inline std::vector<real_t> point() const#

returns vector of coordinates

inline RefElement *refElement() const#

return RefElement pointer

inline bool sharable() const#

return DoF sharability

inline dimen_t supportDim() const#

return dimension of DoF support

inline number_t supportNumber() const#

return DoF localization support (vertex number, edge number, face number)

inline ProjectionType typeOfProjection() const#

returns type of projection

inline DofLocalization where() const#

get DoF localization

Friends

friend std::ostream &operator<<(std::ostream&, const RefDof&)#

print Reference D.o.F data

print operator