26 typedef std::vector<FiniteElement> FE_vec_Type;
27 typedef Teuchos::RCP<FE_vec_Type> FE_vec_ptr_Type;
28 typedef default_lo LO;
29 typedef default_go GO;
30 typedef default_sc SC;
31 typedef default_no NO;
33 typedef Teuchos::RCP<const Map<LO,GO,NO> > MapConstPtr_Type;
36 typedef std::vector<SM_SC_Type> vecSM_SC_Type;
40 Elements( std::string feType );
42 Elements( std::string feType,
int dim );
44 Elements( Elements& Elements );
58 GO getGlobalID( LO i )
const;
60 void setFiniteElementType( std::string feType ){ FEType_ = feType; };
62 std::string getFiniteElementType( ){
return FEType_; };
64 void setDimension(
int dim ){ dim_ = dim; };
66 int getDimension() {
return dim_;};
68 int nodesPerElement();
72 void sortUnique(vec2D_GO_Type &combinedElements);
74 void sortUniqueAndSetGlobalIDs();
76 void sortUniqueAndSetGlobalIDs(vec2D_GO_Type &combinedElements);
80 void globalToLocalIDs( MapConstPtr_Type map );
85 vec2D_int_Type getElementEdgePermutation();
87 vec2D_int_Type getSubElementPermutation();
89 vec2D_LO_Type getElementsNodeList();
91 void setElementsNodeList();
95 void buildTransformation(
const vec_int_Type& element,
96 vec2D_dbl_ptr_Type pointsRep,
99 const SM_SC_Type& getBTinv(
int i);
101 const double& getDetBTinv(
int i);
103 FE_vec_ptr_Type elements_;
104 vec_GO_ptr_Type globalIDs_;
108 vecSM_SC_Type vecBTinv_;
109 vec_dbl_Type vecDetBTinv_;
110 bool feDataInitialized_;
112 vec2D_LO_Type elementsNodeList_;