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

#include <FESpace.h>

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

Public Member Functions

 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

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
 

Detailed Description

general super class for all finite element spaces, special spaces are implemented in subclasses

Constructor & Destructor Documentation

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

constructor

Constructor

TFESpace::~TFESpace ( )

destrcutor

destructor

Member Function Documentation

int TFESpace::GetActiveBound ( ) const
inline

return ActiveBound

Here is the caller graph for this function:

int* TFESpace::GetBeginIndex ( ) const
inline

return begin index for each element

int* TFESpace::GetBoundaryNodesBound ( ) const
inline

return BoundaryNodesBound

BoundCond* TFESpace::GetBoundaryNodeTypes ( ) const
inline

return type for each of the different types

TCollection* TFESpace::GetCollection ( ) const
inline

return the collection of this space

char* TFESpace::GetDescription ( ) const
inline

return description

int TFESpace::GetDirichletBound ( ) const
inline

return DirichletBound

int* TFESpace::GetGlobalDOF ( int  i) const
inline

return correspondence map from local to global degrees of freedom

set int * DOF=feSpace->GetGlobalDOF(i); then DOF[j]-th global degree of freedom corresponds to the j-th local degree of freedom.

Here is the caller graph for this function:

int* TFESpace::GetGlobalNumbers ( ) const
inline

return global numbers of local degrees of freedom

int TFESpace::GetInnerBound ( ) const
inline

return InnerBound

int TFESpace::GetMaxSubDomainPerDof ( )
inline

return MaxSubDomainPerDof

Here is the caller graph for this function:

int* TFESpace::GetN_BoundaryNodes ( ) const
inline

return number of nodes for each boundary node type

Here is the caller graph for this function:

int TFESpace::GetN_Cells ( ) const
inline

return number of cells in the triangulation used for building this space

Here is the caller graph for this function:

int TFESpace::GetN_DegreesOfFreedom ( ) const
inline

return number of all degrees of freedom

int TFESpace::GetN_DiffBoundaryNodeTypes ( ) const
inline

get number of different boundary node types, except Dirichlet

Here is the caller graph for this function:

int TFESpace::GetN_Dirichlet ( ) const
inline

return N_Dirichlet

Here is the caller graph for this function:

int TFESpace::GetN_Inner ( ) const
inline

return N_Inner

Here is the caller graph for this function:

int TFESpace::GetN_UsedElements ( ) const
inline

return number of used elements

Here is the caller graph for this function:

char* TFESpace::GetName ( ) const
inline

return name

Here is the caller graph for this function:

void TFESpace::SetMaxSubDomainPerDof ( int  maxSubDomainPerDof)
inline

return MaxSubDomainPerDof

int TFESpace::Write ( const char *  filename)

write info on fespace into file

Member Data Documentation

int TFESpace::ActiveBound
protected

number of inner and non-Dirichlet boundary nodes are less than

int* TFESpace::BeginIndex
protected

array containing the begin index in GlobalNumbers array for each element

int* TFESpace::BoundaryNodesBound
protected

InnerBound <= i < NeumannBound for all Neumann nodes i

BoundCond* TFESpace::BoundaryNodeTypes
protected

type for each of the different types

TCollection* TFESpace::Collection
protected

Collection containing the cells used for building this space

char* TFESpace::Description
protected

some more words describing the space

int TFESpace::DGSpace
protected

0 space for Galerkin disc, 1 - space for DG disc

int TFESpace::DirichletBound
protected

NeumannBound <= i < DirichletBound for all Dirichlet node i

int* TFESpace::GlobalNumbers
protected

array containing all global numbers of local degrees of freedom for all elements

int TFESpace::InnerBound
protected

0 <= i < InnerBound for all inner degrees of freedom i

int TFESpace::MaxSubDomainPerDof
protected

Maximum number of subdomains associated with any dof

int* TFESpace::N_BoundaryNodes
protected

number of nodes for each boundary node type

int TFESpace::N_Cells
protected

number of cells in the triangulation used for building this space

int TFESpace::N_DegreesOfFreedom
protected

number of all degrees of freedom

int TFESpace::N_DiffBoundNodeTypes
protected

number of different boundary node type, except Dirichlet

int TFESpace::N_Dirichlet
protected

number of Dirichlet nodes

int TFESpace::N_Inner
protected

number of inner nodes

int TFESpace::N_UsedElements
protected

number of used elements

char* TFESpace::Name
protected

name of the space


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