gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
Go to the documentation of this file.
10 static std::vector<IntPt *>
GQP(40,
nullptr),
GQPGL(40,
nullptr);
14 int nLin = (order + 3) / 2;
17 if(forceTensorRule &&
static_cast<int>(
GQPGL.size()) < order + 1)
18 GQPGL.resize(order + 1,
nullptr);
19 else if(!forceTensorRule &&
static_cast<int>(
GQP.size()) < order + 1)
20 GQP.resize(order + 1,
nullptr);
21 if((forceTensorRule && !
GQPGL[order]) ||
22 (!forceTensorRule && !
GQP[order])) {
23 double *linPt, *linWt;
28 for(
int i = 0; i < nTri; i++) {
29 for(
int j = 0; j < nLin; j++) {
30 intpt[l].
pt[0] = triPts[i].
pt[0];
31 intpt[l].
pt[1] = triPts[i].
pt[1];
32 intpt[l].
pt[2] = linPt[j];
49 int nLin = (order + 3) / 2;
IntPt * getGQPriPts(int order, bool forceTensorRule)
void gmshGaussLegendre1D(int nbQuadPoints, double **t, double **w)
static std::vector< IntPt * > GQPGL(40, nullptr)
int getNGQTPts(int order, bool forceTensorRule=false)
int getNGQPriPts(int order, bool forceTensorRule)
static std::vector< IntPt * > GQP(40, nullptr)
IntPt * getGQTPts(int order, bool forceTensorRule=false)