Finite Element Domain Decomposition Library
FEDDLib
Loading...
Searching...
No Matches
FEDD::Elements Class Reference
Inheritance diagram for FEDD::Elements:

Public Types

typedef std::vector< FiniteElementFE_vec_Type
 
typedef Teuchos::RCP< FE_vec_Type > FE_vec_ptr_Type
 
typedef default_lo LO
 
typedef default_go GO
 
typedef default_sc SC
 
typedef default_no NO
 
typedef Teuchos::RCP< const Map< LO, GO, NO > > MapConstPtr_Type
 
typedef SmallMatrix< SC > SM_SC_Type
 
typedef std::vector< SM_SC_TypevecSM_SC_Type
 

Public Member Functions

 Elements (std::string feType)
 
 Elements (std::string feType, int dim)
 
 Elements (Elements &Elements)
 
int numberElements ()
 
void addElement (FiniteElement &fe)
 
void addElement (FiniteElement &fe, GO globalID)
 
void switchElement (int loc, FiniteElement &fe)
 
const FiniteElementgetElement (int i) const
 
FiniteElementgetElement (int i)
 
GO getGlobalID (LO i) const
 
void setFiniteElementType (std::string feType)
 
std::string getFiniteElementType ()
 
void setDimension (int dim)
 
int getDimension ()
 
int nodesPerElement ()
 
void sortUnique ()
 
void sortUnique (vec2D_GO_Type &combinedElements)
 
void sortUniqueAndSetGlobalIDs ()
 
void sortUniqueAndSetGlobalIDs (vec2D_GO_Type &combinedElements)
 
void print ()
 
void globalToLocalIDs (MapConstPtr_Type map)
 
void setToCorrectElement (FiniteElement &feSub)
 
vec2D_int_Type getElementEdgePermutation ()
 
vec2D_int_Type getSubElementPermutation ()
 
vec2D_LO_Type getElementsNodeList ()
 
void setElementsNodeList ()
 
void initializeFEData (vec2D_dbl_ptr_Type pointsRep)
 
void buildTransformation (const vec_int_Type &element, vec2D_dbl_ptr_Type pointsRep, SM_SC_Type &B)
 
const SM_SC_TypegetBTinv (int i)
 
const double & getDetBTinv (int i)
 

Public Attributes

FE_vec_ptr_Type elements_
 
vec_GO_ptr_Type globalIDs_
 
std::string FEType_
 
int dim_
 
vecSM_SC_Type vecBTinv_
 
vec_dbl_Type vecDetBTinv_
 
bool feDataInitialized_
 
vec2D_LO_Type elementsNodeList_
 

Member Function Documentation

◆ initializeFEData()

void FEDD::Elements::initializeFEData ( vec2D_dbl_ptr_Type pointsRep)

Initialized BT^{-1} and det(BT^{-1}) for FE element T

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setToCorrectElement()

void FEDD::Elements::setToCorrectElement ( FiniteElement & feSub)

We set the FiniteElement of a lower order to the correct FiniteElement, i.e, an edge is set to the correct triangle(s)

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: