gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
#include <vector>
Go to the source code of this file.
Classes | |
struct | elem |
struct | bucket |
struct | global |
class | Octree |
Typedefs | |
typedef void(* | BBFunction) (void *, double *, double *) |
typedef int(* | InEleFunction) (void *, double *) |
typedef void(* | CentroidFunction) (void *, double *) |
typedef struct elem | Elem |
typedef Elem * | ELink |
typedef struct bucket | octantBucket |
typedef struct global | globalInfo |
Functions | |
void | refineOctants (octantBucket *buckets, globalInfo *globalPara) |
int | addElement2Bucket (octantBucket *bucket, void *element, double *minBB, double *maxBB, double *ele_centroid, globalInfo *globalPara) |
int | subdivideOctantBucket (octantBucket *bucket, globalInfo *globalPara) |
int | initializeOctantBuckets (double *orig, double *size, int maxElem, octantBucket **buckets, globalInfo **globalPara) |
int | checkElementInBucket (octantBucket *bucket, void *element) |
octantBucket * | findElementBucket (octantBucket *buckets, double *pt) |
void * | searchElement (octantBucket *buckets, double *pt, globalInfo *globalPara, BBFunction BBElement, InEleFunction xyzInElement) |
int | xyzInElementBB (double *xyz, void *region, BBFunction BBElement) |
void | insertOneBB (void *, double *, double *, octantBucket *) |
void * | searchAllElements (octantBucket *_buckets_head, double *_pt, globalInfo *_globalPara, BBFunction BBElement, InEleFunction xyzInElement, std::vector< void * > *_elements) |
typedef void(* BBFunction) (void *, double *, double *) |
Definition at line 12 of file OctreeInternals.h.
typedef void(* CentroidFunction) (void *, double *) |
Definition at line 14 of file OctreeInternals.h.
Definition at line 24 of file OctreeInternals.h.
typedef struct global globalInfo |
Definition at line 24 of file OctreeInternals.h.
typedef int(* InEleFunction) (void *, double *) |
Definition at line 13 of file OctreeInternals.h.
typedef struct bucket octantBucket |
Definition at line 24 of file OctreeInternals.h.
int addElement2Bucket | ( | octantBucket * | bucket, |
void * | element, | ||
double * | minBB, | ||
double * | maxBB, | ||
double * | ele_centroid, | ||
globalInfo * | globalPara | ||
) |
Definition at line 111 of file OctreeInternals.cpp.
Referenced by Octree_Insert().
int checkElementInBucket | ( | octantBucket * | bucket, |
void * | element | ||
) |
Definition at line 191 of file OctreeInternals.cpp.
Referenced by addElement2Bucket().
octantBucket* findElementBucket | ( | octantBucket * | buckets, |
double * | pt | ||
) |
Definition at line 204 of file OctreeInternals.cpp.
Referenced by addElement2Bucket(), Octree_Insert(), searchAllElements(), and searchElement().
int initializeOctantBuckets | ( | double * | orig, |
double * | size, | ||
int | maxElem, | ||
octantBucket ** | buckets, | ||
globalInfo ** | globalPara | ||
) |
Definition at line 13 of file OctreeInternals.cpp.
Referenced by Octree_Create().
void insertOneBB | ( | void * | , |
double * | , | ||
double * | , | ||
octantBucket * | |||
) |
Definition at line 371 of file OctreeInternals.cpp.
Referenced by insertOneBB(), and Octree_Arrange().
void refineOctants | ( | octantBucket * | buckets, |
globalInfo * | globalPara | ||
) |
void* searchAllElements | ( | octantBucket * | _buckets_head, |
double * | _pt, | ||
globalInfo * | _globalPara, | ||
BBFunction | BBElement, | ||
InEleFunction | xyzInElement, | ||
std::vector< void * > * | _elements | ||
) |
Definition at line 396 of file OctreeInternals.cpp.
Referenced by Octree_SearchAll().
void* searchElement | ( | octantBucket * | buckets, |
double * | pt, | ||
globalInfo * | globalPara, | ||
BBFunction | BBElement, | ||
InEleFunction | xyzInElement | ||
) |
Definition at line 290 of file OctreeInternals.cpp.
Referenced by Octree_Search().
int subdivideOctantBucket | ( | octantBucket * | bucket, |
globalInfo * | globalPara | ||
) |
Definition at line 236 of file OctreeInternals.cpp.
Referenced by addElement2Bucket().
int xyzInElementBB | ( | double * | xyz, |
void * | region, | ||
BBFunction | BBElement | ||
) |
Definition at line 354 of file OctreeInternals.cpp.
Referenced by searchAllElements(), and searchElement().