#include <fem_mesh.h>
Public Member Functions | |
BasicTable2d (T *src, int cols_, int rows_) | |
int | size (void) const |
"size" of the table is the number of rows: | |
int | width (void) const |
Width of the table is the number of columns:. | |
T * | getData (void) |
const T * | getData (void) const |
T | operator() (int r, int c) const |
Element-by-element operations:. | |
T & | operator() (int r, int c) |
T * | getRow (int r) |
Row-by-row operations. | |
const T * | getRow (int r) const |
void | getRow (int r, T *dest, T idxBase=0) const |
T * | operator[] (int r) |
const T * | operator[] (int r) const |
void | setRow (int r, const T *src, T idxBase=0) |
void | setRow (int r, T value) |
void | set (const T *src, T idxBase=0) |
These affect the entire table:. | |
void | setTranspose (const T *srcT, int idxBase=0) |
void | get (T *dest, T idxBase=0) const |
void | getTranspose (T *destT, int idxBase=0) const |
void | set (T value) |
BasicTable2d (T *src, int cols_, int rows_) | |
int | size (void) const |
"size" of the table is the number of rows: | |
int | width (void) const |
Width of the table is the number of columns:. | |
T * | getData (void) |
const T * | getData (void) const |
T | operator() (int r, int c) const |
T & | operator() (int r, int c) |
T * | getRow (int r) |
Get a pointer to a row of the table:. | |
const T * | getRow (int r) const |
Get a const pointer to a row of the table:. | |
void | getRow (int r, T *dest, T idxBase=0) const |
T * | operator[] (int r) |
const T * | operator[] (int r) const |
void | setRow (int r, const T *src, T idxBase=0) |
void | setRow (int r, T value) |
void | set (const T *src, T idxBase=0) |
void | setTranspose (const T *srcT, int idxBase=0) |
void | get (T *dest, T idxBase=0) const |
void | getTranspose (T *destT, int idxBase=0) const |
void | set (T value) |
void | setRowLen (int rows_) |
Protected Attributes | |
int | rows |
int | cols |
T * | table |
T * | table |
This is a simple 2D table. The operations are mostly row-centric.
The operations are mostly row-centric.
Definition at line 131 of file fem_mesh.h.
BasicTable2d< T >::BasicTable2d | ( | T * | src, | |
int | cols_, | |||
int | rows_ | |||
) | [inline] |
Definition at line 137 of file fem_mesh.h.
BasicTable2d< T >::BasicTable2d | ( | T * | src, | |
int | cols_, | |||
int | rows_ | |||
) | [inline] |
Definition at line 196 of file ParFUM_internals.h.
int BasicTable2d< T >::size | ( | void | ) | const [inline] |
"size" of the table is the number of rows:
Definition at line 141 of file fem_mesh.h.
Referenced by meshModel_GetElemAtId(), and topModel_GetElemAtId().
int BasicTable2d< T >::width | ( | void | ) | const [inline] |
Width of the table is the number of columns:.
Definition at line 143 of file fem_mesh.h.
Referenced by AllocTable2d< unsigned char >::allocate(), FEM_Elem_Conn_Checker::check(), FEM_Mesh::e2e_getAll(), FEM_Mesh::e2e_getIndex(), FEM_Mesh::e2e_removeAll(), FEM_Mesh::e2e_replace(), FEM_Mesh::e2e_setAll(), FEM_Mesh::e2n_getAll(), FEM_Mesh::e2n_getIndex(), FEM_Mesh::e2n_removeAll(), FEM_Mesh::e2n_replace(), FEM_Mesh::e2n_setAll(), and splitter::renumberNodesLocal().
T* BasicTable2d< T >::getData | ( | void | ) | [inline] |
Definition at line 145 of file fem_mesh.h.
Referenced by FEM_Mesh::createElemElemAdj(), FEM_REFINE2D_Coarsen(), FEM_REFINE2D_Split(), FEM_Refine_Operation(), and update_new_element_e2e().
const T* BasicTable2d< T >::getData | ( | void | ) | const [inline] |
Definition at line 146 of file fem_mesh.h.
T BasicTable2d< T >::operator() | ( | int | r, | |
int | c | |||
) | const [inline] |
T& BasicTable2d< T >::operator() | ( | int | r, | |
int | c | |||
) | [inline] |
Definition at line 150 of file fem_mesh.h.
T* BasicTable2d< T >::getRow | ( | int | r | ) | [inline] |
Row-by-row operations.
Definition at line 154 of file fem_mesh.h.
Referenced by FEM_Sparse_Elem_Checker::check(), FEM_Elem_Conn_Checker::check(), getIndexTableData(), BasicTable2d< unsigned char >::getRow(), getTableData(), interpolateAttrs(), minAttrs(), BasicTable2d< unsigned char >::operator[](), AllocTable2d< unsigned char >::push_back(), splitter::renumberNodesLocal(), setIndexTableData(), BasicTable2d< unsigned char >::setRow(), and setTableData().
const T* BasicTable2d< T >::getRow | ( | int | r | ) | const [inline] |
Definition at line 155 of file fem_mesh.h.
void BasicTable2d< T >::getRow | ( | int | r, | |
T * | dest, | |||
T | idxBase = 0 | |||
) | const [inline] |
Definition at line 156 of file fem_mesh.h.
T* BasicTable2d< T >::operator[] | ( | int | r | ) | [inline] |
Definition at line 160 of file fem_mesh.h.
const T* BasicTable2d< T >::operator[] | ( | int | r | ) | const [inline] |
Definition at line 161 of file fem_mesh.h.
void BasicTable2d< T >::setRow | ( | int | r, | |
const T * | src, | |||
T | idxBase = 0 | |||
) | [inline] |
Definition at line 162 of file fem_mesh.h.
Referenced by AllocTable2d< unsigned char >::allocate(), and BasicTable2d< unsigned char >::set().
void BasicTable2d< T >::setRow | ( | int | r, | |
T | value | |||
) | [inline] |
Definition at line 166 of file fem_mesh.h.
void BasicTable2d< T >::set | ( | const T * | src, | |
T | idxBase = 0 | |||
) | [inline] |
void BasicTable2d< T >::setTranspose | ( | const T * | srcT, | |
int | idxBase = 0 | |||
) | [inline] |
Definition at line 177 of file fem_mesh.h.
void BasicTable2d< T >::get | ( | T * | dest, | |
T | idxBase = 0 | |||
) | const [inline] |
Definition at line 182 of file fem_mesh.h.
void BasicTable2d< T >::getTranspose | ( | T * | destT, | |
int | idxBase = 0 | |||
) | const [inline] |
Definition at line 187 of file fem_mesh.h.
void BasicTable2d< T >::set | ( | T | value | ) | [inline] |
Definition at line 192 of file fem_mesh.h.
int BasicTable2d< T >::size | ( | void | ) | const [inline] |
int BasicTable2d< T >::width | ( | void | ) | const [inline] |
T* BasicTable2d< T >::getData | ( | void | ) | [inline] |
Definition at line 204 of file ParFUM_internals.h.
const T* BasicTable2d< T >::getData | ( | void | ) | const [inline] |
Definition at line 205 of file ParFUM_internals.h.
T BasicTable2d< T >::operator() | ( | int | r, | |
int | c | |||
) | const [inline] |
Definition at line 208 of file ParFUM_internals.h.
T& BasicTable2d< T >::operator() | ( | int | r, | |
int | c | |||
) | [inline] |
Definition at line 209 of file ParFUM_internals.h.
T* BasicTable2d< T >::getRow | ( | int | r | ) | [inline] |
const T* BasicTable2d< T >::getRow | ( | int | r | ) | const [inline] |
void BasicTable2d< T >::getRow | ( | int | r, | |
T * | dest, | |||
T | idxBase = 0 | |||
) | const [inline] |
Definition at line 216 of file ParFUM_internals.h.
T* BasicTable2d< T >::operator[] | ( | int | r | ) | [inline] |
Definition at line 220 of file ParFUM_internals.h.
const T* BasicTable2d< T >::operator[] | ( | int | r | ) | const [inline] |
Definition at line 221 of file ParFUM_internals.h.
void BasicTable2d< T >::setRow | ( | int | r, | |
const T * | src, | |||
T | idxBase = 0 | |||
) | [inline] |
Definition at line 222 of file ParFUM_internals.h.
void BasicTable2d< T >::setRow | ( | int | r, | |
T | value | |||
) | [inline] |
Definition at line 226 of file ParFUM_internals.h.
void BasicTable2d< T >::set | ( | const T * | src, | |
T | idxBase = 0 | |||
) | [inline] |
Definition at line 232 of file ParFUM_internals.h.
void BasicTable2d< T >::setTranspose | ( | const T * | srcT, | |
int | idxBase = 0 | |||
) | [inline] |
Definition at line 237 of file ParFUM_internals.h.
void BasicTable2d< T >::get | ( | T * | dest, | |
T | idxBase = 0 | |||
) | const [inline] |
Definition at line 242 of file ParFUM_internals.h.
void BasicTable2d< T >::getTranspose | ( | T * | destT, | |
int | idxBase = 0 | |||
) | const [inline] |
Definition at line 247 of file ParFUM_internals.h.
void BasicTable2d< T >::set | ( | T | value | ) | [inline] |
Definition at line 252 of file ParFUM_internals.h.
void BasicTable2d< T >::setRowLen | ( | int | rows_ | ) | [inline] |
Definition at line 255 of file ParFUM_internals.h.
int BasicTable2d< T >::rows [protected] |
Definition at line 133 of file fem_mesh.h.
Referenced by AllocTable2d< unsigned char >::allocate(), AllocTable2d< unsigned char >::AllocTable2d(), BasicTable2d< unsigned char >::get(), BasicTable2d< unsigned char >::getTranspose(), AllocTable2d< unsigned char >::pup(), AllocTable2d< unsigned char >::push_back(), AllocTable2d< unsigned char >::register_data(), BasicTable2d< unsigned char >::set(), BasicTable2d< unsigned char >::setRowLen(), BasicTable2d< unsigned char >::setTranspose(), and BasicTable2d< unsigned char >::size().
int BasicTable2d< T >::cols [protected] |
Definition at line 134 of file fem_mesh.h.
Referenced by AllocTable2d< unsigned char >::allocate(), BasicTable2d< unsigned char >::get(), BasicTable2d< unsigned char >::getRow(), BasicTable2d< unsigned char >::getTranspose(), BasicTable2d< unsigned char >::operator()(), AllocTable2d< unsigned char >::pup(), AllocTable2d< unsigned char >::pupSingle(), AllocTable2d< unsigned char >::push_back(), BasicTable2d< unsigned char >::set(), BasicTable2d< unsigned char >::setRow(), BasicTable2d< unsigned char >::setTranspose(), and BasicTable2d< unsigned char >::width().
T* BasicTable2d< T >::table [protected] |
Definition at line 135 of file fem_mesh.h.
Referenced by AllocTable2d< unsigned char >::allocate(), BasicTable2d< unsigned char >::get(), BasicTable2d< unsigned char >::getData(), BasicTable2d< unsigned char >::getRow(), BasicTable2d< unsigned char >::getTranspose(), BasicTable2d< unsigned char >::operator()(), AllocTable2d< unsigned char >::pup(), AllocTable2d< unsigned char >::pupSingle(), AllocTable2d< unsigned char >::register_data(), BasicTable2d< unsigned char >::set(), and BasicTable2d< unsigned char >::setTranspose().
T* BasicTable2d< T >::table [protected] |
Definition at line 194 of file ParFUM_internals.h.