ParMooN
 All Classes Functions Variables Friends Pages
Public Member Functions | Protected Attributes | Friends | List of all members
TSquareStructure2D Class Reference
Inheritance diagram for TSquareStructure2D:
Inheritance graph
[legend]
Collaboration diagram for TSquareStructure2D:
Collaboration graph
[legend]

Public Member Functions

 TSquareStructure2D ()
 
 TSquareStructure2D (TFESpace2D *space)
 
 TSquareStructure2D (int n, int N_entries, int *col_ptr, int *row_ptr)
 
 TSquareStructure2D (int n)
 
 ~TSquareStructure2D ()
 
TFESpace2DGetFESpace ()
 
- Public Member Functions inherited from TSquareStructure
 TSquareStructure ()
 
 ~TSquareStructure ()
 
 TSquareStructure (int n, int N_entries, int *col_ptr, int *row_ptr)
 
 TSquareStructure (int n)
 
int GetActiveBound () const
 
int GetColOrder () const
 
void Sort ()
 
void SetColOrder (int n)
 
void SortDiagFirst ()
 
- Public Member Functions inherited from TStructure
 TStructure ()
 
 TStructure (int n, int N_entries, int *col_ptr, int *row_ptr)
 
 TStructure (int nRows, int nCols, int N_entries, int *col_ptr, int *row_ptr)
 
 TStructure (int nRows, int nCols)
 
 ~TStructure ()
 
int GetN_Rows () const
 
int GetN_Columns () const
 
int GetN_Entries () const
 
int GetHangingN_Entries () const
 
int * GetKCol () const
 
int * GetHangingKCol () const
 
int * GetRowPtr () const
 
int * GetHangingRowPtr () const
 
void setN_Rows (int n)
 set member variables. Careful, this can produce inconsistencies!
 
void setN_Columns (int n)
 
void setN_Entries (int n)
 
void setKCol (int *p)
 
void setRowPtr (int *p)
 
void SortRow (int *BeginPtr, int *AfterEndPtr)
 
void Sort ()
 
int index_of_entry (const int i, const int j) const
 find the index of a given entry More...
 
TStructureGetTransposed ()
 

Protected Attributes

TFESpace2DFESpace
 
- Protected Attributes inherited from TSquareStructure
int ActiveBound
 
int ColOrder
 
- Protected Attributes inherited from TStructure
int N_Rows
 
int N_Columns
 
int N_Entries
 
int HangingN_Entries
 
int * KCol
 
int * HangingKCol
 
int * RowPtr
 
int * HangingRowPtr
 

Friends

bool operator== (const TSquareStructure2D &lhs, const TSquareStructure2D &rhs)
 find out if two TSquareStructure2Ds are the same More...
 
bool operator!= (const TSquareStructure2D &lhs, const TSquareStructure2D &rhs)
 find out if two TSquareStructure2Ds are different More...
 

Additional Inherited Members

- Protected Member Functions inherited from TSquareStructure
void IntSort (int *BeginPtr, int *AfterEndPtr)
 

Constructor & Destructor Documentation

TSquareStructure2D::TSquareStructure2D ( )

dummy constructor, needed only for derived classes

dummy constructor, needed only derives classes

TSquareStructure2D::TSquareStructure2D ( TFESpace2D Space)

generate the matrix structure, only one space needed

generate the matrix structure, both space are 2D

Here is the call graph for this function:

TSquareStructure2D::TSquareStructure2D ( int  n,
int  N_entries,
int *  col_ptr,
int *  row_ptr 
)

generate the matrix structure, all arrays are already defined

TSquareStructure2D::TSquareStructure2D ( int  n)
explicit

Generates an empty n*n Structure for a Zero-Matrix

TSquareStructure2D::~TSquareStructure2D ( )

destructor: free all used arrays

Member Function Documentation

TFESpace2D* TSquareStructure2D::GetFESpace ( )
inline

return FESpace

Here is the caller graph for this function:

Friends And Related Function Documentation

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

find out if two TSquareStructure2Ds are different

check if SquareStructure lhs and rhs are not equal

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

find out if two TSquareStructure2Ds are the same

check if SquareStructure lhs and rhs are equal

Member Data Documentation

TFESpace2D* TSquareStructure2D::FESpace
protected

FE space


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