|
| | Table () |
| | Creates an empty table.
|
| |
| | Table (const Table &table1, const Table &table2, int offset2) |
| | Merge constructor: combine two tables into one table.
|
| |
| | Table (const Table &table1, const Table &table2, int offset2, const Table &table3, int offset3) |
| | Merge constructor: combine three tables into one table.
|
| |
| | Table (int dim, int connections_per_row=3) |
| | Create a table with an upper limit for the number of connections.
|
| |
| | Table (int nrows, Array< Connection > &list) |
| | Create a table from a list of connections, see MakeFromList().
|
| |
| | Table (int nrows, int *partitioning) |
| | Create a table with one entry per row with column indices given by partitioning.
|
| |
| void | SetSize (int dim, int connections_per_row) |
| | Set the size and the number of connections for the table.
|
| |
| void | SetDims (int rows, int nnz) |
| | Set the rows and the number of all connections for the table.
|
| |
| int | Size () const |
| | Returns the number of TYPE I elements.
|
| |
| int | Size_of_connections () const |
| | Returns the number of connections in the table.
|
| |
| int | operator() (int i, int j) const |
| | Returns index of the connection between element i of TYPE I and element j of TYPE II.
|
| |
| void | GetRow (int i, Array< int > &row) const |
| | Return row i in array row (the Table must be finalized)
|
| |
| int | RowSize (int i) const |
| |
| const int * | GetRow (int i) const |
| |
| int * | GetRow (int i) |
| |
| int * | GetI () |
| |
| int * | GetJ () |
| |
| const int * | GetI () const |
| |
| const int * | GetJ () const |
| |
| Memory< int > & | GetIMemory () |
| |
| Memory< int > & | GetJMemory () |
| |
| const Memory< int > & | GetIMemory () const |
| |
| const Memory< int > & | GetJMemory () const |
| |
| const int * | ReadI (bool on_dev=true) const |
| |
| int * | WriteI (bool on_dev=true) |
| |
| int * | ReadWriteI (bool on_dev=true) |
| |
| const int * | HostReadI () const |
| |
| int * | HostWriteI () |
| |
| int * | HostReadWriteI () |
| |
| const int * | ReadJ (bool on_dev=true) const |
| |
| int * | WriteJ (bool on_dev=true) |
| |
| int * | ReadWriteJ (bool on_dev=true) |
| |
| const int * | HostReadJ () const |
| |
| int * | HostWriteJ () |
| |
| int * | ReadWriteJ () |
| |
| void | SortRows () |
| | Sort the column (TYPE II) indices in each row.
|
| |
| void | SetIJ (int *newI, int *newJ, int newsize=-1) |
| | Replace the I and J arrays with the given newI and newJ arrays.
|
| |
| int | Push (int i, int j) |
| | Establish connection between element i and element j in the table.
|
| |
| void | Finalize () |
| | Finalize the table initialization.
|
| |
| void | MakeFromList (int nrows, const Array< Connection > &list) |
| | Create the table from a list of connections {(from, to)}, where 'from' is a TYPE I index and 'to' is a TYPE II index.
|
| |
| int | Width () const |
| | Returns the number of TYPE II elements (after Finalize() is called).
|
| |
| void | LoseData () |
| | Releases ownership of and null-ifies the data.
|
| |
| void | Print (std::ostream &out=mfem::out, int width=4) const |
| | Prints the table to the stream out.
|
| |
| void | PrintMatlab (std::ostream &out) const |
| |
| void | Save (std::ostream &out) const |
| |
| void | Load (std::istream &in) |
| |
| void | Copy (Table ©) const |
| |
| void | Swap (Table &other) |
| |
| void | Clear () |
| |
| std::size_t | MemoryUsage () const |
| |
|
| void | MakeI (int nrows) |
| |
| void | AddAColumnInRow (int r) |
| |
| void | AddColumnsInRow (int r, int ncol) |
| |
| void | MakeJ () |
| |
| void | AddConnection (int r, int c) |
| |
| void | AddConnections (int r, const int *c, int nc) |
| |
| void | ShiftUpI () |
| |
Table stores the connectivity of elements of TYPE I to elements of TYPE II. For example, it may be the element-to-face connectivity table.
Definition at line 42 of file table.hpp.