gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
#include <cartesian.h>
Public Types | |
typedef std::set< int >::const_iterator | cellIter |
typedef std::map< int, std::pair< scalar, int > >::iterator | valIter |
Public Member Functions | |
cartesianBox (double X0, double Y0, double Z0, const SVector3 &dxi, const SVector3 &deta, const SVector3 &dzeta, int Nxi, int Neta, int Nzeta, int level=1) | |
double | getLC () |
int | getNxi () |
int | getNeta () |
int | getNzeta () |
cartesianBox< scalar > * | getChildBox () |
int | getLevel () |
cellIter | activeCellsBegin () |
cellIter | activeCellsEnd () |
valIter | nodalValuesBegin () |
valIter | nodalValuesEnd () |
void | setNodalValue (int i, scalar s) |
void | getNodalValuesForCell (int t, std::vector< scalar > &values) |
double | getValueContainingPoint (double x, double y, double z) |
int | getCellContainingPoint (double x, double y, double z) const |
SPoint3 | getNodeCoordinates (int t) const |
void | insertActiveCell (int t) |
void | eraseActiveCell (int t) |
bool | activeCellExists (int t) |
int | getCellIndex (int i, int j, int k) const |
int | getNodeIndex (int i, int j, int k) const |
int | getNodeTag (int index) |
void | getCellIJK (int index, int &i, int &j, int &k) const |
void | getNodeIJK (int index, int &i, int &j, int &k) const |
void | createNodalValues () |
void | renumberNodes (int startingNum=1, cartesianBox< scalar > *parent=0) |
void | writeMSH (const std::string &fileName, bool simplex=false, bool writeNodalValues=true) |
Private Member Functions | |
int | _getNumNodes () |
void | _printNodes (FILE *f) |
int | _getNumElements (bool simplex) |
void | _printElements (FILE *f, bool simplex, int startingNum=1) |
void | _printValues (FILE *f) |
Private Attributes | |
int | _nxi |
int | _neta |
int | _nzeta |
double | _x0 |
double | _y0 |
double | _z0 |
double | _dxi |
double | _deta |
double | _dzeta |
SVector3 | _xiAxis |
SVector3 | _etaAxis |
SVector3 | _zetaAxis |
std::set< int > | _activeCells |
std::map< int, std::pair< scalar, int > > | _nodalValues |
int | _level |
cartesianBox< scalar > * | _childBox |
Definition at line 33 of file cartesian.h.
typedef std::set<int>::const_iterator cartesianBox< scalar >::cellIter |
Definition at line 150 of file cartesian.h.
typedef std::map<int, std::pair<scalar, int> >::iterator cartesianBox< scalar >::valIter |
Definition at line 153 of file cartesian.h.
|
inline |
|
inlineprivate |
Definition at line 72 of file cartesian.h.
Referenced by cartesianBox< scalar >::writeMSH().
|
inlineprivate |
Definition at line 54 of file cartesian.h.
Referenced by cartesianBox< scalar >::writeMSH().
|
inlineprivate |
Definition at line 79 of file cartesian.h.
Referenced by cartesianBox< scalar >::writeMSH().
|
inlineprivate |
Definition at line 62 of file cartesian.h.
Referenced by cartesianBox< scalar >::writeMSH().
|
inlineprivate |
Definition at line 120 of file cartesian.h.
Referenced by cartesianBox< scalar >::writeMSH().
|
inline |
Definition at line 287 of file cartesian.h.
Referenced by removeBadChildCells().
|
inline |
Definition at line 151 of file cartesian.h.
|
inline |
Definition at line 152 of file cartesian.h.
|
inline |
|
inline |
Definition at line 286 of file cartesian.h.
Referenced by removeBadChildCells().
|
inline |
Definition at line 256 of file cartesian.h.
Referenced by cartesianBox< scalar >::getValueContainingPoint().
|
inline |
Definition at line 307 of file cartesian.h.
Referenced by cartesianBox< scalar >::_printElements(), cartesianBox< scalar >::createNodalValues(), cartesianBox< scalar >::getNodalValuesForCell(), and cartesianBox< scalar >::getValueContainingPoint().
|
inline |
Definition at line 291 of file cartesian.h.
Referenced by cartesianBox< scalar >::getCellContainingPoint(), and removeBadChildCells().
|
inline |
Definition at line 148 of file cartesian.h.
Referenced by removeBadChildCells(), and removeParentCellsWithChildren().
|
inline |
Definition at line 144 of file cartesian.h.
|
inline |
Definition at line 149 of file cartesian.h.
|
inline |
Definition at line 146 of file cartesian.h.
Referenced by removeBadChildCells().
|
inline |
|
inline |
Definition at line 275 of file cartesian.h.
Referenced by cartesianBox< scalar >::_printNodes(), and cartesianBox< scalar >::getValueContainingPoint().
|
inline |
Definition at line 313 of file cartesian.h.
Referenced by cartesianBox< scalar >::getNodeCoordinates(), and cartesianBox< scalar >::renumberNodes().
|
inline |
Definition at line 295 of file cartesian.h.
Referenced by cartesianBox< scalar >::_printElements(), cartesianBox< scalar >::createNodalValues(), cartesianBox< scalar >::getNodalValuesForCell(), and cartesianBox< scalar >::getValueContainingPoint().
|
inline |
Definition at line 299 of file cartesian.h.
Referenced by cartesianBox< scalar >::_printElements().
|
inline |
Definition at line 145 of file cartesian.h.
Referenced by removeBadChildCells().
|
inline |
Definition at line 147 of file cartesian.h.
Referenced by removeBadChildCells().
|
inline |
|
inline |
Definition at line 285 of file cartesian.h.
|
inline |
Definition at line 154 of file cartesian.h.
|
inline |
Definition at line 155 of file cartesian.h.
|
inline |
|
inline |
Definition at line 156 of file cartesian.h.
|
inline |
|
private |
Definition at line 43 of file cartesian.h.
Referenced by cartesianBox< scalar >::_getNumElements(), cartesianBox< scalar >::_printElements(), cartesianBox< scalar >::activeCellExists(), cartesianBox< scalar >::activeCellsBegin(), cartesianBox< scalar >::activeCellsEnd(), cartesianBox< scalar >::createNodalValues(), cartesianBox< scalar >::eraseActiveCell(), and cartesianBox< scalar >::insertActiveCell().
|
private |
Definition at line 53 of file cartesian.h.
Referenced by cartesianBox< scalar >::_getNumElements(), cartesianBox< scalar >::_getNumNodes(), cartesianBox< scalar >::_printElements(), cartesianBox< scalar >::_printNodes(), cartesianBox< scalar >::_printValues(), cartesianBox< scalar >::cartesianBox(), cartesianBox< scalar >::createNodalValues(), cartesianBox< scalar >::getChildBox(), cartesianBox< scalar >::getValueContainingPoint(), and cartesianBox< scalar >::renumberNodes().
|
private |
Definition at line 38 of file cartesian.h.
Referenced by cartesianBox< scalar >::getCellContainingPoint(), cartesianBox< scalar >::getLC(), and cartesianBox< scalar >::getNodeCoordinates().
|
private |
Definition at line 38 of file cartesian.h.
Referenced by cartesianBox< scalar >::getCellContainingPoint(), cartesianBox< scalar >::getLC(), and cartesianBox< scalar >::getNodeCoordinates().
|
private |
Definition at line 38 of file cartesian.h.
Referenced by cartesianBox< scalar >::getCellContainingPoint(), cartesianBox< scalar >::getLC(), and cartesianBox< scalar >::getNodeCoordinates().
|
private |
Definition at line 40 of file cartesian.h.
Referenced by cartesianBox< scalar >::cartesianBox(), cartesianBox< scalar >::getCellContainingPoint(), and cartesianBox< scalar >::getNodeCoordinates().
|
private |
Definition at line 51 of file cartesian.h.
Referenced by cartesianBox< scalar >::getLevel().
|
private |
Definition at line 36 of file cartesian.h.
Referenced by cartesianBox< scalar >::getCellContainingPoint(), cartesianBox< scalar >::getCellIJK(), cartesianBox< scalar >::getCellIndex(), cartesianBox< scalar >::getNeta(), cartesianBox< scalar >::getNodeCoordinates(), cartesianBox< scalar >::getNodeIJK(), and cartesianBox< scalar >::getNodeIndex().
|
private |
Definition at line 48 of file cartesian.h.
Referenced by cartesianBox< scalar >::_getNumNodes(), cartesianBox< scalar >::_printNodes(), cartesianBox< scalar >::_printValues(), cartesianBox< scalar >::createNodalValues(), cartesianBox< scalar >::getNodalValuesForCell(), cartesianBox< scalar >::getNodeTag(), cartesianBox< scalar >::getValueContainingPoint(), cartesianBox< scalar >::nodalValuesBegin(), cartesianBox< scalar >::nodalValuesEnd(), cartesianBox< scalar >::renumberNodes(), and cartesianBox< scalar >::setNodalValue().
|
private |
Definition at line 36 of file cartesian.h.
Referenced by cartesianBox< scalar >::getCellContainingPoint(), cartesianBox< scalar >::getCellIJK(), cartesianBox< scalar >::getCellIndex(), cartesianBox< scalar >::getNodeCoordinates(), cartesianBox< scalar >::getNodeIJK(), cartesianBox< scalar >::getNodeIndex(), and cartesianBox< scalar >::getNxi().
|
private |
Definition at line 36 of file cartesian.h.
Referenced by cartesianBox< scalar >::getCellContainingPoint(), cartesianBox< scalar >::getNodeCoordinates(), and cartesianBox< scalar >::getNzeta().
|
private |
Definition at line 38 of file cartesian.h.
Referenced by cartesianBox< scalar >::getCellContainingPoint(), cartesianBox< scalar >::getNodeCoordinates(), and cartesianBox< scalar >::getValueContainingPoint().
|
private |
Definition at line 40 of file cartesian.h.
Referenced by cartesianBox< scalar >::cartesianBox(), cartesianBox< scalar >::getCellContainingPoint(), and cartesianBox< scalar >::getNodeCoordinates().
|
private |
Definition at line 38 of file cartesian.h.
Referenced by cartesianBox< scalar >::getCellContainingPoint(), cartesianBox< scalar >::getNodeCoordinates(), and cartesianBox< scalar >::getValueContainingPoint().
|
private |
Definition at line 38 of file cartesian.h.
Referenced by cartesianBox< scalar >::getCellContainingPoint(), cartesianBox< scalar >::getNodeCoordinates(), and cartesianBox< scalar >::getValueContainingPoint().
|
private |
Definition at line 40 of file cartesian.h.
Referenced by cartesianBox< scalar >::cartesianBox(), cartesianBox< scalar >::getCellContainingPoint(), and cartesianBox< scalar >::getNodeCoordinates().