Class xlifepp::FeDof#

class FeDof : public xlifepp::Dof#

to store finite element global dof informations

Public Functions

inline FeDof()#

default constructor

inline FeDof(FeSpace &sp, const RefDof *rd = nullptr, number_t i = 0, bool sh = false)#

basic constructor

inline virtual ShapeValues computeShapeValue(const Point &P, const Element &elt, bool der1, bool der2, Vector<real_t> *ns = nullptr) const#

compute the shape vaue related to FeDof, restricted for the moment to dof with extension (e.g. Buffa-Christiansen)

virtual Point &coords() const#

return coordinates of FeDof

virtual real_t coords(const dimen_t i) const#

return the i-th coordinates of FeDof

dimen_t dim() const#

mesh space dimension

inline virtual dimen_t dimFun() const#

dof dimension (shape function dim)

virtual string_t dofData(number_t w = 0) const#

return id and coords as string_t

Value evalProjectDof(const Function &f, const Function &gradf, const Function &grad2f) const#

evaluate dof at function f using polynomials dof definition, may be used for any dof

inline virtual bool hasCoords() const#

true if coords has been set

inline void inElement(const std::pair<Element*, number_t> &pen)#

add pair of (Element*,number_t) to inElements vector

inline virtual bool isPonctual() const#

true if a dof with ponctual support

virtual Value operator()(const Function &f, const Function &gradf = Function(), const Function &grad2f = Function()) const#

eval dof (viewed as a distribution) at a function f, e.g. for a lagrange dof: d_i(f)=f(Mi)

virtual void print(std::ostream&) const#

print dof information

virtual void printTab(std::ostream&) const#

print dof information in table environment

virtual void printTab2(std::ostream &os, number_t ti, number_t ts, number_t td, number_t tt, number_t tw, number_t tc, number_t tp, number_t tn) const#

print dof information in table environment

inline Vector<real_t> &projVector()#

access to projection type (const)

access to projection vector (non const)

inline const Vector<real_t> &projVector() const#

access to projection vector (const)

inline const RefDof *refDofP() const#

return pointer to a Reference D.o.F

virtual void setCoords() const#

compute coordinates of dof

inline DofLocalization where() const#

get DoF hierarchic localization ( _onVertex, _onEdge , _onFace, _onElement)

Public Members

mutable FeDofExtension *dofExt_#

additional information for non standard FE dof (e.g Buffa-Christiansen dof)