#include <FESpace2D.h>
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 |
TCollection * | GetCollection () 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 |
TCollection * | MortarColl |
int | N_IntlPts |
double * | X_Intl |
double * | Y_Intl |
int * | IntlPtIndexOfPts |
Protected Attributes inherited from TFESpace | |
char * | Name |
char * | Description |
TCollection * | Collection |
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) |
class for all 2D finite element spaces
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
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
TFESpace2D::TFESpace2D | ( | TCollection * | coll, |
char * | name, | ||
char * | description, | ||
BoundCondFunct2D * | BoundaryCondition, | ||
FE2D * | fes, | ||
TCollection * | mortarcoll | ||
) |
constructor for building a space with the given elements
TFESpace2D::~TFESpace2D | ( | ) |
destructor
void TFESpace2D::ConstructSpace | ( | BoundCondFunct2D * | BoundaryCondition | ) |
construct space
void TFESpace2D::FindUsedElements | ( | ) |
find used elements
|
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
void TFESpace2D::GetDOFPosition | ( | double * | x, |
double * | y | ||
) |
return position of all dofs
FE2D TFESpace2D::GetFE2D | ( | int | i, |
TBaseCell * | cell | ||
) |
return the FE Id for element i, corresponding to cell
|
inline |
return HangingBound
|
inline |
return array with all hanging nodes
|
inline |
return number of active degrees of freedom
|
inline |
return N_Hanging=N_SlaveDegrees
|
inline |
return number of slave degrees of freedom
|
inline |
return identifiers of used elements
|
friend |
check if FE spaces lhs_space and rhs_space are not equal
|
friend |
check if FE spaces lhs_space and rhs_space are equal
|
protected |
array storing the fe for each element, if necessary
|
protected |
boundary condition used to create this space
|
protected |
array with an element for each shape
|
protected |
NeumannBound <= i < HangingBound for all hanging nodes i => HangingBound <= i < DirichletBound for all Dirichlet node i
|
protected |
array of hanging nodes
|
protected |
indices for mapping between Nodalfunctional/Nodal-interpolation point in operator-splitting methods — Sashikumaar Ganesan
|
protected |
1D collection of mortar cells
|
protected |
number of active degrees of freedom
|
protected |
no. points in internal coordinate direction — ADI scheme
|
protected |
number of slave degrees of freedom
|
protected |
array containing the used elements
|
protected |
internal points' X coordinate — ADI scheme
|
protected |
internal points' Y coordinate — ADI scheme