gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
Go to the documentation of this file.
6 #ifndef DISTANCE_TERM_H
7 #define DISTANCE_TERM_H
28 for(
int i = 0; i < npts; i++) {
29 const double u = GP[i].
pt[0];
30 const double v = GP[i].
pt[1];
31 const double w = GP[i].
pt[2];
32 const double weight = GP[i].
weight;
36 m(j) += ff[j] * weight * detJ;
virtual void getIntegrationPoints(int pOrder, int *npts, IntPt **pts)
void scale(const scalar s)
virtual std::size_t getNumShapeFunctions() const
void elementVector(SElement *se, fullVector< double > &m) const
MElement * getMeshElement() const
virtual void getShapeFunctions(double u, double v, double w, double s[], int order=-1) const
virtual double getJacobian(const fullMatrix< double > &gsf, double jac[3][3]) const
virtual int getPolynomialOrder() const
distanceTerm(GModel *gm, int iField, simpleFunction< double > *k, simpleFunction< double > *a)