gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
#include <list>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "GmshMessage.h"
#include "OctreeInternals.h"
Go to the source code of this file.
Functions | |
int | initializeOctantBuckets (double *_orig, double *_size, int _maxElem, octantBucket **buckets_head, globalInfo **globalPara) |
int | addElement2Bucket (octantBucket *_bucket, void *_element, double *_minBB, double *_maxBB, double *_ele_centroid, globalInfo *_globalPara) |
int | checkElementInBucket (octantBucket *_bucket, void *_element) |
octantBucket * | findElementBucket (octantBucket *_buckets_head, double *_pt) |
int | subdivideOctantBucket (octantBucket *_bucket, globalInfo *_globalPara) |
void * | searchElement (octantBucket *_buckets_head, double *_pt, globalInfo *_globalPara, BBFunction BBElement, InEleFunction xyzInElement) |
int | xyzInElementBB (double *_xyz, void *_region, BBFunction _bbElement) |
void | insertOneBB (void *_region, double *_minPt, double *_maxPt, octantBucket *_bucket) |
void * | searchAllElements (octantBucket *_buckets_head, double *_pt, globalInfo *_globalPara, BBFunction BBElement, InEleFunction xyzInElement, std::vector< void * > *_elements) |
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_head, |
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_head, | ||
globalInfo ** | globalPara | ||
) |
Definition at line 13 of file OctreeInternals.cpp.
Referenced by Octree_Create().
void insertOneBB | ( | void * | _region, |
double * | _minPt, | ||
double * | _maxPt, | ||
octantBucket * | _bucket | ||
) |
Definition at line 371 of file OctreeInternals.cpp.
Referenced by insertOneBB(), and Octree_Arrange().
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_head, |
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().