MFEM v2.0
Public Member Functions
STable Class Reference

#include <table.hpp>

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

List of all members.

Public Member Functions

 STable (int dim, int connections_per_row=3)
 Creates table with fixed number of connections.
int operator() (int i, int j) const
int Push (int i, int j)
 ~STable ()
 Destroys STable.

Detailed Description

Data type STable. STable is similar to Table, but it's for symmetric connectivity, i.e. TYPE I is equivalent to TYPE II. In the first dimension we put the elements with smaller index.

Definition at line 133 of file table.hpp.


Constructor & Destructor Documentation

STable::STable ( int  dim,
int  connections_per_row = 3 
)

Creates table with fixed number of connections.

Definition at line 369 of file table.cpp.

STable::~STable ( ) [inline]

Destroys STable.

Definition at line 152 of file table.hpp.


Member Function Documentation

int STable::operator() ( int  i,
int  j 
) const

Returns index of the connection between element i of TYPE I and element j of TYPE II. If there is no connection between element i and element j established in the table, then the return value is -1.

Reimplemented from Table.

Definition at line 373 of file table.cpp.

int STable::Push ( int  i,
int  j 
)

Establish connection between element i and element j in the table. The return value is the index of the connection. It returns -1 if it fails to establish the connection. Possibilities are there is not enough memory on row i to establish connection to j, an attempt to establish new connection after calling Finalize().

Reimplemented from Table.

Definition at line 381 of file table.cpp.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines