ParMooN
 All Classes Functions Variables Friends Pages
Public Member Functions | Protected Attributes | Friends | List of all members
TFESpace2D Class Reference

#include <FESpace2D.h>

Inheritance diagram for TFESpace2D:
Inheritance graph
[legend]
Collaboration diagram for TFESpace2D:
Collaboration graph
[legend]

Public Member Functions

 TFESpace2D (TCollection *coll, char *name, char *description)
 
 TFESpace2D (TCollection *coll, char *name, char *description, BoundCondFunct2D *BoundaryCondition, int k, TCollection *mortarcoll)
 
 TFESpace2D (TCollection *coll, char *name, char *description, BoundCondFunct2D *BoundaryCondition, SpaceType type, int k, TCollection *mortarcoll)
 
 TFESpace2D (TCollection *coll, char *name, char *description, BoundCondFunct2D *BoundaryCondition, FE2D *fes, TCollection *mortarcoll)
 
 ~TFESpace2D ()
 
void FindUsedElements ()
 
void ConstructSpace (BoundCondFunct2D *BoundaryCondition)
 
int GetN_ActiveDegrees () const
 
int GetN_SlaveDegrees () const
 
int GetHangingBound () const
 
int GetN_Hanging () const
 
FE2D * GetUsedElements () const
 
THangingNode ** GetHangingNodes () const
 
FE2D GetFE2D (int i, TBaseCell *cell)
 
void GetDOFPosition (int dof, double &x, double &y)
 
void GetDOFPosition (double *x, double *y)
 
void SetIntlPtIndexOfPts (int *intlPtIndexOfPts)
 
int * GetIntlPtIndexOfPts () const
 
FE2D * GetAllElements () const
 
BoundCondFunct2D * GetBoundCondition () const
 
- Public Member Functions inherited from TFESpace
 TFESpace (TCollection *coll, char *name, char *description)
 
 ~TFESpace ()
 
char * GetName () const
 
char * GetDescription () const
 
int GetN_Cells () const
 
TCollectionGetCollection () const
 
int * GetGlobalNumbers () const
 
void SetGlobalNumbers (int *NewGN)
 
int * GetBeginIndex () const
 
int * GetGlobalDOF (int i) const
 return correspondence map from local to global degrees of freedom More...
 
int GetN_UsedElements () const
 
int GetN_DegreesOfFreedom () const
 
int GetN_DiffBoundaryNodeTypes () const
 
BoundCond * GetBoundaryNodeTypes () const
 
int * GetN_BoundaryNodes () const
 
int GetN_Dirichlet () const
 
int GetN_Inner () const
 
int GetInnerBound () const
 
int * GetBoundaryNodesBound () const
 
int GetDirichletBound () const
 
int GetActiveBound () const
 
int Write (const char *filename)
 
void SetAsDGSpace ()
 
int IsDGSpace () const
 
void SetMaxSubDomainPerDof (int maxSubDomainPerDof)
 
int GetMaxSubDomainPerDof ()
 

Protected Attributes

int N_ActiveDegrees
 
int N_SlaveDegrees
 
int HangingBound
 
FE2D * UsedElements
 
FE2D * ElementForShape
 
THangingNode ** HangingNodeArray
 
FE2D * AllElements
 
BoundCondFunct2D * BoundCondition
 
TCollectionMortarColl
 
int N_IntlPts
 
double * X_Intl
 
double * Y_Intl
 
int * IntlPtIndexOfPts
 
- Protected Attributes inherited from TFESpace
char * Name
 
char * Description
 
TCollectionCollection
 
int N_Cells
 
int N_DegreesOfFreedom
 
int * GlobalNumbers
 
int * BeginIndex
 
int N_UsedElements
 
int N_DiffBoundNodeTypes
 
BoundCond * BoundaryNodeTypes
 
int N_Dirichlet
 
int * N_BoundaryNodes
 
int N_Inner
 
int InnerBound
 
int * BoundaryNodesBound
 
int DirichletBound
 
int ActiveBound
 
int DGSpace
 
int MaxSubDomainPerDof
 

Friends

bool operator== (const TFESpace2D &lhs, const TFESpace2D &rhs)
 
bool operator!= (const TFESpace2D &lhs, const TFESpace2D &rhs)
 

Detailed Description

class for all 2D finite element spaces

Constructor & Destructor Documentation

TFESpace2D::TFESpace2D ( TCollection coll,
char *  name,
char *  description 
)

constructor

Constructor

TFESpace2D::TFESpace2D ( TCollection coll,
char *  name,
char *  description,
BoundCondFunct2D *  BoundaryCondition,
int  ord,
TCollection mortarcoll 
)

constructor for building a space with elements of order k

Here is the call graph for this function:

TFESpace2D::TFESpace2D ( TCollection coll,
char *  name,
char *  description,
BoundCondFunct2D *  BoundaryCondition,
SpaceType  type,
int  ord,
TCollection mortarcoll 
)

constructor for building a space with elements of order k

Here is the call graph for this function:

TFESpace2D::TFESpace2D ( TCollection coll,
char *  name,
char *  description,
BoundCondFunct2D *  BoundaryCondition,
FE2D *  fes,
TCollection mortarcoll 
)

constructor for building a space with the given elements

Here is the call graph for this function:

TFESpace2D::~TFESpace2D ( )

destructor

Member Function Documentation

void TFESpace2D::ConstructSpace ( BoundCondFunct2D *  BoundaryCondition)

construct space

Here is the call graph for this function:

Here is the caller graph for this function:

void TFESpace2D::FindUsedElements ( )

find used elements

Here is the call graph for this function:

Here is the caller graph for this function:

BoundCondFunct2D* TFESpace2D::GetBoundCondition ( ) const
inline

return boundary condition

void TFESpace2D::GetDOFPosition ( int  dof,
double &  x,
double &  y 
)

return position of one given DOF

return position of one given dof

Here is the call graph for this function:

void TFESpace2D::GetDOFPosition ( double *  x,
double *  y 
)

return position of all dofs

Here is the call graph for this function:

FE2D TFESpace2D::GetFE2D ( int  i,
TBaseCell cell 
)

return the FE Id for element i, corresponding to cell

Here is the call graph for this function:

int TFESpace2D::GetHangingBound ( ) const
inline

return HangingBound

Here is the caller graph for this function:

THangingNode** TFESpace2D::GetHangingNodes ( ) const
inline

return array with all hanging nodes

Here is the caller graph for this function:

int TFESpace2D::GetN_ActiveDegrees ( ) const
inline

return number of active degrees of freedom

Here is the caller graph for this function:

int TFESpace2D::GetN_Hanging ( ) const
inline

return N_Hanging=N_SlaveDegrees

Here is the caller graph for this function:

int TFESpace2D::GetN_SlaveDegrees ( ) const
inline

return number of slave degrees of freedom

FE2D* TFESpace2D::GetUsedElements ( ) const
inline

return identifiers of used elements

Here is the caller graph for this function:

Friends And Related Function Documentation

bool operator!= ( const TFESpace2D lhs,
const TFESpace2D rhs 
)
friend

check if FE spaces lhs_space and rhs_space are not equal

bool operator== ( const TFESpace2D lhs,
const TFESpace2D rhs 
)
friend

check if FE spaces lhs_space and rhs_space are equal

Member Data Documentation

FE2D* TFESpace2D::AllElements
protected

array storing the fe for each element, if necessary

BoundCondFunct2D* TFESpace2D::BoundCondition
protected

boundary condition used to create this space

FE2D* TFESpace2D::ElementForShape
protected

array with an element for each shape

int TFESpace2D::HangingBound
protected

NeumannBound <= i < HangingBound for all hanging nodes i => HangingBound <= i < DirichletBound for all Dirichlet node i

THangingNode** TFESpace2D::HangingNodeArray
protected

array of hanging nodes

int* TFESpace2D::IntlPtIndexOfPts
protected

indices for mapping between Nodalfunctional/Nodal-interpolation point in operator-splitting methods — Sashikumaar Ganesan

TCollection* TFESpace2D::MortarColl
protected

1D collection of mortar cells

int TFESpace2D::N_ActiveDegrees
protected

number of active degrees of freedom

int TFESpace2D::N_IntlPts
protected

no. points in internal coordinate direction — ADI scheme

int TFESpace2D::N_SlaveDegrees
protected

number of slave degrees of freedom

FE2D* TFESpace2D::UsedElements
protected

array containing the used elements

double* TFESpace2D::X_Intl
protected

internal points' X coordinate — ADI scheme

double* TFESpace2D::Y_Intl
protected

internal points' Y coordinate — ADI scheme


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