27 typedef std::vector<FiniteElement> FE_vec_Type;
28 typedef Teuchos::RCP<FE_vec_Type> FE_vec_ptr_Type;
29 typedef default_lo LO;
30 typedef default_go GO;
31 typedef default_sc SC;
32 typedef default_no NO;
34 typedef Teuchos::RCP<const Map<LO,GO,NO> > MapConstPtr_Type;
37 typedef std::vector<SM_SC_Type> vecSM_SC_Type;
41 Elements( std::string feType );
43 Elements( std::string feType,
int dim );
45 Elements( Elements& Elements );
59 GO getGlobalID( LO i )
const;
61 void setFiniteElementType( std::string feType ){ FEType_ = feType; }
63 std::string getFiniteElementType( ){
return FEType_; }
65 void setDimension(
int dim ){ dim_ = dim; }
67 int getDimension() {
return dim_;}
69 int nodesPerElement();
73 void sortUnique(vec2D_GO_Type &combinedElements);
75 void sortUniqueAndSetGlobalIDs();
77 void sortUniqueAndSetGlobalIDs(vec2D_GO_Type &combinedElements);
81 void globalToLocalIDs( MapConstPtr_Type map );
86 vec2D_int_Type getElementEdgePermutation();
88 vec2D_int_Type getSubElementPermutation();
90 vec2D_LO_Type getElementsNodeList();
92 void setElementsNodeList();
96 void buildTransformation(
const vec_int_Type& element,
97 vec2D_dbl_ptr_Type pointsRep,
100 const SM_SC_Type& getBTinv(
int i);
102 const double& getDetBTinv(
int i);
104 FE_vec_ptr_Type elements_;
105 vec_GO_ptr_Type globalIDs_;
109 vecSM_SC_Type vecBTinv_;
110 vec_dbl_Type vecDetBTinv_;
111 bool feDataInitialized_;
113 vec2D_LO_Type elementsNodeList_;