gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
Go to the documentation of this file.
29 double invjac[3][3],
double Grads[][3],
36 for(
int j = 0; j < nbSF; j++) {
37 Grads[j][0] = invjac[0][0] * grads[j][0] + invjac[0][1] * grads[j][1] +
38 invjac[0][2] * grads[j][2];
39 Grads[j][1] = invjac[1][0] * grads[j][0] + invjac[1][1] * grads[j][1] +
40 invjac[1][2] * grads[j][2];
41 Grads[j][2] = invjac[2][0] * grads[j][0] + invjac[2][1] * grads[j][1] +
42 invjac[2][2] * grads[j][2];
52 double E = (*_enrichement)(p.
x(), p.
y(), p.
z());
53 double dEdx, dEdy, dEdz;
55 for(
int i = 0; i < N; i++) {
56 Grads[i][0] = Grads[i][0] * E + dEdx * sf[i];
57 Grads[i][1] = Grads[i][1] * E + dEdy * sf[i];
58 Grads[i][2] = Grads[i][2] * E + dEdz * sf[i];
72 double E = (*_enrichement)(p.
x(), p.
y(), p.
z());
73 for(
int i = 0; i < N; i++) {
80 double invjac[3][3],
double grads[][3])
86 double invjac[3][3],
double grads[][3])
void gradNodalFunctions(double u, double v, double w, double invjac[3][3], double grad[][3], simpleFunction< double > *_enrichment)
int getNumNodalShapeFunctions() const
virtual void gradient(double x, double y, double z, scalar &dfdx, scalar &dfdy, scalar &dfdz) const
virtual MElement * getParent() const
void nodalTestFunctions(double u, double v, double w, double s[])
virtual std::size_t getNumVertices() const =0
static simpleFunction< double > * _enrichement_s
static simpleFunction< double > * _enrichement_t
void nodalFunctions(double u, double v, double w, double s[], simpleFunction< double > *_enrichement)
void gradNodalTestFunctions(double u, double v, double w, double invjac[3][3], double grad[][3])
virtual void pnt(double u, double v, double w, SPoint3 &p) const
void nodalShapeFunctions(double u, double v, double w, double s[])
virtual void getShapeFunctions(double u, double v, double w, double s[], int order=-1) const
int getNumNodalTestFunctions() const
void gradNodalShapeFunctions(double u, double v, double w, double invjac[3][3], double grad[][3])
virtual void getGradShapeFunctions(double u, double v, double w, double s[][3], int order=-1) const