gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
CombinedCell Class Reference

#include <Cell.h>

Inheritance diagram for CombinedCell:
Collaboration diagram for CombinedCell:

Public Member Functions

 CombinedCell (Cell *c1, Cell *c2, bool orMatch, bool co=false)
 
 CombinedCell (std::vector< Cell * > &cells)
 
 ~CombinedCell ()
 
int getDim () const
 
void getCells (std::map< Cell *, int, CellPtrLessThan > &cells)
 
int getNumCells () const
 
bool hasVertex (int vertex) const
 
bool operator== (const Cell &c2) const
 
- Public Member Functions inherited from Cell
 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
 
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
 
MVertexgetMeshVertex (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 ()
 
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
 
bool operator== (const Cell &c2) const
 

Private Attributes

std::map< Cell *, int, CellPtrLessThan_cells
 

Additional Inherited Members

- Public Types inherited from Cell
typedef std::map< Cell *, BdInfo, CellPtrLessThan >::iterator biter
 
typedef std::map< Cell *, int, CellPtrLessThan >::iterator citer
 
- Static Public Member Functions inherited from Cell
static std::pair< Cell *, bool > createCell (MElement *element, int domain)
 
static std::pair< Cell *, bool > createCell (Cell *parent, int i)
 
- Protected Member Functions inherited from Cell
 Cell ()
 
- Protected Attributes inherited from Cell
int _num
 
char _domain
 
bool _combined
 
bool _immune
 
std::map< Cell *, BdInfo, CellPtrLessThan_bd
 
std::map< Cell *, BdInfo, CellPtrLessThan_cbd
 
- Static Protected Attributes inherited from Cell
static int _globalNum = 0
 

Detailed Description

Definition at line 164 of file Cell.h.

Constructor & Destructor Documentation

◆ CombinedCell() [1/2]

CombinedCell::CombinedCell ( Cell c1,
Cell c2,
bool  orMatch,
bool  co = false 
)

Definition at line 719 of file Cell.cpp.

Here is the call graph for this function:

◆ CombinedCell() [2/2]

CombinedCell::CombinedCell ( std::vector< Cell * > &  cells)

Definition at line 783 of file Cell.cpp.

Here is the call graph for this function:

◆ ~CombinedCell()

CombinedCell::~CombinedCell ( )
inline

Definition at line 172 of file Cell.h.

Member Function Documentation

◆ getCells()

void CombinedCell::getCells ( std::map< Cell *, int, CellPtrLessThan > &  cells)
inlinevirtual

Reimplemented from Cell.

Definition at line 175 of file Cell.h.

◆ getDim()

int CombinedCell::getDim ( ) const
inlinevirtual

Reimplemented from Cell.

Definition at line 174 of file Cell.h.

◆ getNumCells()

int CombinedCell::getNumCells ( ) const
inlinevirtual

Reimplemented from Cell.

Definition at line 179 of file Cell.h.

◆ hasVertex()

bool CombinedCell::hasVertex ( int  vertex) const
virtual

Reimplemented from Cell.

Definition at line 498 of file Cell.cpp.

◆ operator==()

bool CombinedCell::operator== ( const Cell c2) const
inline

Definition at line 182 of file Cell.h.

Here is the call graph for this function:

Member Data Documentation

◆ _cells

std::map<Cell *, int, CellPtrLessThan> CombinedCell::_cells
private

Definition at line 167 of file Cell.h.

Referenced by CombinedCell(), getCells(), getDim(), getNumCells(), and hasVertex().


The documentation for this class was generated from the following files: