gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
gmshLevelset.cpp File Reference
#include <queue>
#include <stack>
#include <cmath>
#include "gmshLevelset.h"
#include "fullMatrix.h"
#include "GModel.h"
#include "OS.h"
#include "MElement.h"
#include "Numeric.h"
#include "cartesian.h"
#include "GmshConfig.h"
#include "mathEvaluator.h"
Include dependency graph for gmshLevelset.cpp:

Go to the source code of this file.

Functions

void insertActiveCells (double x, double y, double z, double rmax, cartesianBox< double > &box)
 
void fillPointCloud (GEdge *ge, double sampling, std::vector< SPoint3 > &points)
 
int removeBadChildCells (cartesianBox< double > *parent)
 
void removeParentCellsWithChildren (cartesianBox< double > *box)
 
void computeLevelset (GModel *gm, cartesianBox< double > &box)
 
double det3 (double d11, double d12, double d13, double d21, double d22, double d23, double d31, double d32, double d33)
 
void norm (const double *vec, double *norm)
 
void cross (const double *pt0, const double *pt1, const double *pt2, double *cross)
 
bool isPlanar (const double *pt1, const double *pt2, const double *pt3, const double *pt4)
 
double evalRadialFnDer (int p, int index, double dx, double dy, double dz, double ep)
 
void printNodes (fullMatrix< double > &myNodes, fullMatrix< double > &surf)
 

Function Documentation

◆ computeLevelset()

void computeLevelset ( GModel gm,
cartesianBox< double > &  box 
)

Definition at line 144 of file gmshLevelset.cpp.

Here is the call graph for this function:

◆ cross()

void cross ( const double *  pt0,
const double *  pt1,
const double *  pt2,
double *  cross 
)
inline

Definition at line 210 of file gmshLevelset.cpp.

Referenced by eigen(), gLevelsetConrod::gLevelsetConrod(), isPlanar(), and vcross().

Here is the caller graph for this function:

◆ det3()

double det3 ( double  d11,
double  d12,
double  d13,
double  d21,
double  d22,
double  d23,
double  d31,
double  d32,
double  d33 
)
inline

Definition at line 195 of file gmshLevelset.cpp.

Referenced by gLevelsetPlane::gLevelsetPlane().

Here is the caller graph for this function:

◆ evalRadialFnDer()

double evalRadialFnDer ( int  p,
int  index,
double  dx,
double  dy,
double  dz,
double  ep 
)
inline

Definition at line 234 of file gmshLevelset.cpp.

Referenced by gLevelsetPoints::generateRbfMat().

Here is the caller graph for this function:

◆ fillPointCloud()

void fillPointCloud ( GEdge ge,
double  sampling,
std::vector< SPoint3 > &  points 
)

Definition at line 61 of file gmshLevelset.cpp.

Here is the call graph for this function:

◆ insertActiveCells()

void insertActiveCells ( double  x,
double  y,
double  z,
double  rmax,
cartesianBox< double > &  box 
)

Definition at line 46 of file gmshLevelset.cpp.

◆ isPlanar()

bool isPlanar ( const double *  pt1,
const double *  pt2,
const double *  pt3,
const double *  pt4 
)
inline

Definition at line 220 of file gmshLevelset.cpp.

Referenced by gLevelsetBox::gLevelsetBox().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ norm()

◆ printNodes()

void printNodes ( fullMatrix< double > &  myNodes,
fullMatrix< double > &  surf 
)
inline

Definition at line 257 of file gmshLevelset.cpp.

Referenced by gLevelsetPoints::gLevelsetPoints().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ removeBadChildCells()

int removeBadChildCells ( cartesianBox< double > *  parent)

Definition at line 75 of file gmshLevelset.cpp.

Here is the call graph for this function:

◆ removeParentCellsWithChildren()

void removeParentCellsWithChildren ( cartesianBox< double > *  box)

Definition at line 120 of file gmshLevelset.cpp.

Here is the call graph for this function: