Finite Element Domain Decomposition Library
FEDDLib
Loading...
Searching...
No Matches
FEDD::FiniteElement Class Reference

Public Types

typedef default_lo LO
 
typedef default_go GO
 
typedef default_no NO
 
typedef std::vector< int > vec_int_Type
 
typedef std::vector< long long > vec_long_Type
 
typedef std::vector< std::vector< int > > vec2D_int_Type
 
typedef Elements Elements_Type
 
typedef Teuchos::RCP< Elements_TypeElementsPtr_Type
 
typedef Teuchos::RCP< const Map< LO, GO, NO > > MapConstPtr_Type
 

Public Member Functions

 FiniteElement (vec_LO_Type &localNodeList)
 
 FiniteElement (vec_LO_Type &localNodeList, LO elementFlag)
 
bool operator== (const FiniteElement &other)
 
FiniteElementoperator= (const FiniteElement &in)
 
void setElement (vec_int_Type &localNodeList)
 
int getFlag () const
 
void setFlag (int elementFlag)
 
const vec_LO_Type & getVectorNodeList () const
 
vec_LO_Type getVectorNodeListNonConst ()
 
int size ()
 
int getNode (int i) const
 
int numSubElements ()
 
bool subElementsInitialized ()
 
void initializeSubElements (std::string feType, int dim)
 
void addSubElement (FiniteElement &fe)
 
ElementsPtr_Type getSubElements ()
 
void setSubElements (ElementsPtr_Type &subElements)
 
void globalToLocalIDs (MapConstPtr_Type map)
 
void addSubElementIfPart (FiniteElement &feSub, const vec2D_int_Type &permutation, std::string &feType, int dim)
 
void findEdgeFlagInSubElements (const vec_LO_Type &edgeIDs, vec_int_Type &flags, bool isSubElement, const vec2D_int_Type &permutation, bool &foundLineSegment)
 
bool findEdgeInElement (const vec_LO_Type &edgeIDs, vec_int_Type &flags, const vec2D_int_Type &permutation)
 
void print (MapConstPtr_Type mapRepeated=Teuchos::null)
 
void setFiniteElementRefinementType (std::string reType)
 
std::string getFiniteElementRefinementType ()
 
void tagForRefinement ()
 
void untagForRefinement ()
 
bool isTaggedForRefinement ()
 
bool isInterfaceElement ()
 
void setInterfaceElement (bool interface)
 
void setPredecessorElement (GO id)
 
GO getPredecessorElement ()
 
void setRefinementEdge (LO id)
 
LO getRefinementEdge ()
 
void setMarkedEdges (LO id)
 
vec_LO_Type getMarkedEdges ()
 
void markEdge ()
 
bool isMarkedEdge ()
 

Member Function Documentation

◆ addSubElementIfPart()

void FEDD::FiniteElement::addSubElementIfPart ( FiniteElement & feSub,
const vec2D_int_Type & permutation,
std::string & feType,
int dim )

We go through all possible permutations and check wether ids is equal to one of these permutations

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: