|
gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
#include <Cell.h>

Public Types | |
| typedef std::map< Cell *, BdInfo, CellPtrLessThan >::iterator | biter |
| typedef std::map< Cell *, int, CellPtrLessThan >::iterator | citer |
Public Member Functions | |
| Cell (MElement *element, int domain) | |
| Cell (Cell *parent, int i) | |
| virtual | ~Cell () |
| int | getDomain () const |
| void | setDomain (int domain) |
| int | getNum () const |
| void | setNum (int num) |
| int | getTypeMSH () const |
| virtual int | getDim () const |
| bool | inSubdomain () const |
| void | getMeshVertices (std::vector< MVertex * > &v) const |
| void | setImmune (bool immune) |
| bool | getImmune () const |
| int | getNumSortedVertices () const |
| int | getSortedVertex (int vertex) const |
| int | getNumVertices () const |
| MVertex * | getMeshVertex (int vertex) const |
| void | findBdElement (int i, std::vector< MVertex * > &vertices) const |
| int | getNumBdElements () const |
| int | findBdCellOrientation (Cell *cell, int i) const |
| void | increaseGlobalNum () |
| void | saveCellBoundary () |
| void | restoreCellBoundary () |
| virtual bool | hasVertex (int vertex) const |
| biter | firstBoundary (bool orig=false) |
| biter | lastBoundary () |
| biter | firstCoboundary (bool orig=false) |
| biter | lastCoboundary () |
| int | getBoundarySize (bool orig=false) |
| int | getCoboundarySize (bool orig=false) |
| void | getBoundary (std::map< Cell *, short int, CellPtrLessThan > &boundary, bool orig=false) |
| void | getCoboundary (std::map< Cell *, short int, CellPtrLessThan > &coboundary, bool orig=false) |
| void | addBoundaryCell (int orientation, Cell *cell, bool other) |
| void | addCoboundaryCell (int orientation, Cell *cell, bool other) |
| void | removeBoundaryCell (Cell *cell, bool other) |
| void | removeCoboundaryCell (Cell *cell, bool other) |
| bool | hasBoundary (Cell *cell, bool orig=false) |
| bool | hasCoboundary (Cell *cell, bool orig=false) |
| virtual void | printCell () |
| virtual void | printBoundary () |
| virtual void | printCoboundary () |
| bool | isCombined () const |
| virtual void | getCells (std::map< Cell *, int, CellPtrLessThan > &cells) |
| virtual int | getNumCells () const |
| bool | operator== (const Cell &c2) const |
Static Public Member Functions | |
| static std::pair< Cell *, bool > | createCell (MElement *element, int domain) |
| static std::pair< Cell *, bool > | createCell (Cell *parent, int i) |
Protected Member Functions | |
| Cell () | |
Protected Attributes | |
| int | _num |
| char | _domain |
| bool | _combined |
| bool | _immune |
| std::map< Cell *, BdInfo, CellPtrLessThan > | _bd |
| std::map< Cell *, BdInfo, CellPtrLessThan > | _cbd |
Static Protected Attributes | |
| static int | _globalNum = 0 |
Private Member Functions | |
| bool | _sortVertexIndices () |
Private Attributes | |
| char | _dim |
| std::vector< MVertex * > | _v |
| std::vector< char > | _si |
| typedef std::map<Cell *, BdInfo, CellPtrLessThan>::iterator Cell::biter |
| typedef std::map<Cell *, int, CellPtrLessThan>::iterator Cell::citer |
|
inlineprotected |
Definition at line 58 of file Cell.h.
Referenced by createCell().

| Cell::Cell | ( | MElement * | element, |
| int | domain | ||
| ) |
| Cell::Cell | ( | Cell * | parent, |
| int | i | ||
| ) |
|
inlineprivate |
Definition at line 99 of file Cell.cpp.
Referenced by Cell(), and createCell().


| void Cell::addBoundaryCell | ( | int | orientation, |
| Cell * | cell, | ||
| bool | other | ||
| ) |
Definition at line 543 of file Cell.cpp.
Referenced by CellComplex::_insertCells(), addCoboundaryCell(), CellComplex::coherent(), and CombinedCell::CombinedCell().


| void Cell::addCoboundaryCell | ( | int | orientation, |
| Cell * | cell, | ||
| bool | other | ||
| ) |
Definition at line 560 of file Cell.cpp.
Referenced by addBoundaryCell(), CellComplex::coherent(), and CombinedCell::CombinedCell().


Definition at line 45 of file Cell.cpp.
Referenced by CellComplex::_insertCells().


| int Cell::findBdCellOrientation | ( | Cell * | cell, |
| int | i | ||
| ) | const |
Definition at line 194 of file Cell.cpp.
Referenced by CellComplex::_insertCells().


| void Cell::findBdElement | ( | int | i, |
| std::vector< MVertex * > & | vertices | ||
| ) | const |
Definition at line 122 of file Cell.cpp.
Referenced by Cell(), and createCell().


| Cell::biter Cell::firstBoundary | ( | bool | orig = false | ) |
Definition at line 625 of file Cell.cpp.
Referenced by CellComplex::cocombine(), CombinedCell::CombinedCell(), CellComplex::coreduction(), getBoundary(), printBoundary(), restoreCellBoundary(), and saveCellBoundary().

| Cell::biter Cell::firstCoboundary | ( | bool | orig = false | ) |
Definition at line 637 of file Cell.cpp.
Referenced by CellComplex::combine(), CombinedCell::CombinedCell(), getCoboundary(), printCoboundary(), CellComplex::reduction(), restoreCellBoundary(), and saveCellBoundary().

| void Cell::getBoundary | ( | std::map< Cell *, short int, CellPtrLessThan > & | boundary, |
| bool | orig = false |
||
| ) |
Definition at line 673 of file Cell.cpp.
Referenced by CellComplex::coherent(), CellComplex::combine(), CellComplex::coreduction(), and CellComplex::removeCell().


| int Cell::getBoundarySize | ( | bool | orig = false | ) |
Definition at line 649 of file Cell.cpp.
Referenced by CellComplex::cocombine(), and CellComplex::coreduction().

|
inlinevirtual |
Reimplemented in CombinedCell.
Definition at line 150 of file Cell.h.
Referenced by CombinedCell::CombinedCell().

| void Cell::getCoboundary | ( | std::map< Cell *, short int, CellPtrLessThan > & | coboundary, |
| bool | orig = false |
||
| ) |
Definition at line 684 of file Cell.cpp.
Referenced by CellComplex::cocombine(), CellComplex::coherent(), CellComplex::coreduction(), and CellComplex::removeCell().


| int Cell::getCoboundarySize | ( | bool | orig = false | ) |
Definition at line 661 of file Cell.cpp.
Referenced by CellComplex::combine(), and CellComplex::reduction().

|
inlinevirtual |
Reimplemented in CombinedCell.
Definition at line 82 of file Cell.h.
Referenced by CellComplex::_immunizeCells(), CellComplex::_insertCells(), CellComplex::_omitCell(), CellComplex::_removeCells(), Cell(), CellComplex::coherent(), createCell(), CellComplex::hasCell(), CellComplex::insertCell(), printCell(), and CellComplex::removeCell().

|
inline |
Definition at line 77 of file Cell.h.
Referenced by Cell(), createCell(), and CellComplex::inSameDomain().

|
inline |
Definition at line 87 of file Cell.h.
Referenced by CellComplex::cocombine(), CellComplex::combine(), CombinedCell::CombinedCell(), CellComplex::coreduction(), and CellComplex::reduction().

|
inline |
Definition at line 92 of file Cell.h.
Referenced by printCell().

|
inline |
Definition at line 84 of file Cell.h.
Referenced by findBdCellOrientation().

|
inline |
Definition at line 79 of file Cell.h.
Referenced by findBdCellOrientation(), getSortedVertex(), hasVertex(), CellPtrLessThan::operator()(), operator==(), CombinedCell::operator==(), and printCell().

| int Cell::getNumBdElements | ( | ) | const |
Definition at line 171 of file Cell.cpp.
Referenced by CellComplex::_insertCells(), and CellComplex::_removeCells().


|
inlinevirtual |
Reimplemented in CombinedCell.
Definition at line 155 of file Cell.h.
Referenced by CombinedCell::CombinedCell().

|
inline |
Definition at line 89 of file Cell.h.
Referenced by CellPtrLessThan::operator()().

|
inline |
Definition at line 91 of file Cell.h.
Referenced by findBdCellOrientation(), findBdElement(), getNumBdElements(), getTypeMSH(), and printCell().

|
inline |
Definition at line 117 of file Cell.cpp.
Referenced by CellPtrLessThan::operator()().


| int Cell::getTypeMSH | ( | ) | const |
| bool Cell::hasBoundary | ( | Cell * | cell, |
| bool | orig = false |
||
| ) |
Definition at line 597 of file Cell.cpp.
Referenced by CellComplex::coherent().

| bool Cell::hasCoboundary | ( | Cell * | cell, |
| bool | orig = false |
||
| ) |
Definition at line 611 of file Cell.cpp.
Referenced by CellComplex::coherent().

|
virtual |
Reimplemented in CombinedCell.
Definition at line 485 of file Cell.cpp.

|
inline |
Definition at line 98 of file Cell.h.
Referenced by CellComplex::CellComplex().

|
inline |
Definition at line 83 of file Cell.h.
Referenced by CellComplex::getACell(), CellComplex::getCells(), CellComplex::getDomain(), printCell(), CellComplex::removeCell(), CellComplex::removeSubdomain(), and CellComplex::restoreComplex().

|
inline |
Definition at line 147 of file Cell.h.
Referenced by CellComplex::cocombine(), CellComplex::combine(), printCell(), and CellComplex::restoreComplex().

| Cell::biter Cell::lastBoundary | ( | ) |
Definition at line 635 of file Cell.cpp.
Referenced by CombinedCell::CombinedCell(), getBoundary(), printBoundary(), restoreCellBoundary(), and saveCellBoundary().

| Cell::biter Cell::lastCoboundary | ( | ) |
Definition at line 647 of file Cell.cpp.
Referenced by CombinedCell::CombinedCell(), getCoboundary(), printCoboundary(), restoreCellBoundary(), and saveCellBoundary().

|
inline |
|
virtual |
Definition at line 695 of file Cell.cpp.
Referenced by CellComplex::printComplex().


|
virtual |
Definition at line 506 of file Cell.cpp.
Referenced by CellComplex::insertCell(), printBoundary(), printCoboundary(), and CellComplex::printComplex().


|
virtual |
Definition at line 707 of file Cell.cpp.
Referenced by CellComplex::printComplex().


| void Cell::removeBoundaryCell | ( | Cell * | cell, |
| bool | other | ||
| ) |
Definition at line 577 of file Cell.cpp.
Referenced by CellComplex::coherent(), CombinedCell::CombinedCell(), and CellComplex::removeCell().

| void Cell::removeCoboundaryCell | ( | Cell * | cell, |
| bool | other | ||
| ) |
Definition at line 587 of file Cell.cpp.
Referenced by CellComplex::coherent(), CombinedCell::CombinedCell(), and CellComplex::removeCell().

| void Cell::restoreCellBoundary | ( | ) |
Definition at line 527 of file Cell.cpp.
Referenced by CellComplex::restoreComplex().


| void Cell::saveCellBoundary | ( | ) |
Definition at line 517 of file Cell.cpp.
Referenced by CellComplex::CellComplex().


|
inline |
Definition at line 78 of file Cell.h.
Referenced by CellComplex::_insertCells().

|
inline |
Definition at line 80 of file Cell.h.
Referenced by CellComplex::CellComplex().

|
protected |
Definition at line 55 of file Cell.h.
Referenced by addBoundaryCell(), firstBoundary(), getBoundarySize(), hasBoundary(), lastBoundary(), removeBoundaryCell(), and restoreCellBoundary().
|
protected |
Definition at line 56 of file Cell.h.
Referenced by addCoboundaryCell(), firstCoboundary(), getCoboundarySize(), hasCoboundary(), lastCoboundary(), removeCoboundaryCell(), and restoreCellBoundary().
|
protected |
Definition at line 50 of file Cell.h.
Referenced by Cell(), CombinedCell::CombinedCell(), createCell(), and isCombined().
|
private |
Definition at line 61 of file Cell.h.
Referenced by Cell(), createCell(), findBdCellOrientation(), findBdElement(), getDim(), getNumBdElements(), and getTypeMSH().
|
protected |
Definition at line 47 of file Cell.h.
Referenced by Cell(), CombinedCell::CombinedCell(), createCell(), getDomain(), inSubdomain(), and setDomain().
|
staticprotected |
Definition at line 44 of file Cell.h.
Referenced by CombinedCell::CombinedCell(), and increaseGlobalNum().
|
protected |
Definition at line 52 of file Cell.h.
Referenced by Cell(), CombinedCell::CombinedCell(), createCell(), getImmune(), and setImmune().
|
protected |
Definition at line 46 of file Cell.h.
Referenced by Cell(), CombinedCell::CombinedCell(), createCell(), getNum(), and setNum().
|
private |
Definition at line 64 of file Cell.h.
Referenced by _sortVertexIndices(), getNumSortedVertices(), getSortedVertex(), and hasVertex().
|
private |
Definition at line 62 of file Cell.h.
Referenced by _sortVertexIndices(), Cell(), createCell(), findBdCellOrientation(), findBdElement(), getMeshVertex(), getMeshVertices(), getNumVertices(), getSortedVertex(), and hasVertex().