MFEM v2.0

#include <table.hpp>
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. 
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.
STable::STable  (  int  dim, 
int  connections_per_row = 3 

) 
int STable::operator()  (  int  i, 
int  j  
)  const 
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.