Class xlifepp::RefDof#

class RefDof#

Collaboration diagram for xlifepp::RefDof:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "15" [label="std::list< std::vector< PolynomialT< real_t > > >" tooltip="std::list< std::vector< PolynomialT< real_t > > >"] "18" [label="std::map< xlifepp::Quadrature *, std::vector< xlifepp::ShapeValues > >" tooltip="std::map< xlifepp::Quadrature *, std::vector< xlifepp::ShapeValues > >"] "16" [label="std::list< T >" tooltip="std::list< T >"] "19" [label="std::map< K, T >" tooltip="std::map< K, T >"] "5" [label="std::vector< T >" tooltip="std::vector< T >"] "6" [label="std::vector< ShapeType >" tooltip="std::vector< ShapeType >"] "4" [label="std::vector< real_t >" tooltip="std::vector< real_t >"] "8" [label="std::vector< std::vector< int_t > >" tooltip="std::vector< std::vector< int_t > >"] "7" [label="std::vector< std::vector< number_t > >" tooltip="std::vector< std::vector< number_t > >"] "9" [label="std::vector< xlifepp::GeomRefElement * >" tooltip="std::vector< xlifepp::GeomRefElement * >"] "11" [label="std::vector< xlifepp::Interpolation * >" tooltip="std::vector< xlifepp::Interpolation * >"] "17" [label="std::vector< xlifepp::PolynomialsBasisT >" tooltip="std::vector< xlifepp::PolynomialsBasisT >"] "12" [label="std::vector< xlifepp::RefDof * >" tooltip="std::vector< xlifepp::RefDof * >"] "13" [label="std::vector< xlifepp::RefElement * >" tooltip="std::vector< xlifepp::RefElement * >"] "3" [label="xlifepp::GeomRefElement" tooltip="xlifepp::GeomRefElement"] "10" [label="xlifepp::Interpolation" tooltip="xlifepp::Interpolation"] "14" [label="xlifepp::PolynomialsBasisT< K >" tooltip="xlifepp::PolynomialsBasisT< K >"] "1" [label="xlifepp::RefDof" tooltip="xlifepp::RefDof" fillcolor="#BFBFBF"] "2" [label="xlifepp::RefElement" tooltip="xlifepp::RefElement"] "15" -> "16" [dir=forward tooltip="template-instance"] "18" -> "19" [dir=forward tooltip="template-instance"] "6" -> "5" [dir=forward tooltip="template-instance"] "4" -> "5" [dir=forward tooltip="template-instance"] "8" -> "5" [dir=forward tooltip="template-instance"] "7" -> "5" [dir=forward tooltip="template-instance"] "9" -> "5" [dir=forward tooltip="template-instance"] "11" -> "5" [dir=forward tooltip="template-instance"] "17" -> "5" [dir=forward tooltip="template-instance"] "12" -> "5" [dir=forward tooltip="template-instance"] "13" -> "5" [dir=forward tooltip="template-instance"] "3" -> "4" [dir=forward tooltip="usage"] "3" -> "6" [dir=forward tooltip="usage"] "3" -> "7" [dir=forward tooltip="usage"] "3" -> "8" [dir=forward tooltip="usage"] "3" -> "9" [dir=forward tooltip="usage"] "10" -> "11" [dir=forward tooltip="usage"] "14" -> "15" [dir=forward tooltip="public-inheritance"] "1" -> "2" [dir=forward tooltip="usage"] "1" -> "4" [dir=forward tooltip="usage"] "2" -> "3" [dir=forward tooltip="usage"] "2" -> "10" [dir=forward tooltip="usage"] "2" -> "12" [dir=forward tooltip="usage"] "2" -> "13" [dir=forward tooltip="usage"] "2" -> "7" [dir=forward tooltip="usage"] "2" -> "14" [dir=forward tooltip="usage"] "2" -> "17" [dir=forward tooltip="usage"] "2" -> "18" [dir=forward tooltip="usage"] }

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