VTK
9.4.20241103
|
Go to the source code of this file.
Variables | |
const RealT | ZERO = 0. |
const RealT | HALF = 0.5 |
const RealT | FOURTH = 0.25 |
const RealT | NINTH = 1. / 9. |
const RealT | FOURNINTHS = 4. / 9. |
const RealT | ONE = 1. |
const RealT | TWO = 2. |
const RealT | FOUR = 4. |
const RealT | EIGHT = 9. |
const RealT | TWENTYSEVEN = 27. |
const RealT | K1 = -FOURTH |
const RealT | K5 = ONE |
const RealT | K6 = -HALF |
const RealT | K10 = -ONE |
const RealT | K14 = ONE |
const RealT | K15A = TWENTYSEVEN / EIGHT |
const RealT | K15B = -TWENTYSEVEN / EIGHT |
RealT | r2 = rr * rr |
RealT | s2 = ss * ss |
RealT | t2 = tt * tt |
RealT | rs = rr * ss |
RealT | rt = rr * tt |
RealT | st = ss * tt |
RealT | r2s = r2 * ss |
RealT | rs2 = rr * s2 |
RealT | r2s2 = r2 * s2 |
RealT | tm = tt - ONE |
RealT | tm2 = tm * tm |
RealT | tm3 = tm2 * tm |
RealT | tm4 = tm3 * tm |
RealT | mt = abs(tm) > eps ? ONE / tm : ZERO |
RealT | m2t = abs(tm2) > eps ? ONE / tm2 : ZERO |
RealT | m3t = abs(tm3) > eps ? ONE / tm3 : ZERO |
RealT | m4t = abs(tm4) > eps ? ONE / tm4 : ZERO |
basisGradient [0] = K1 * (rs * mt - rr - ss + tt + (ss * mt - ONE) * (rr + ss - ONE) - ONE) | |
const RealT ZERO = 0. |
Definition at line 1 of file PyrC2Gradient.h.
const RealT HALF = 0.5 |
Definition at line 2 of file PyrC2Gradient.h.
const RealT FOURTH = 0.25 |
Definition at line 3 of file PyrC2Gradient.h.
const RealT NINTH = 1. / 9. |
Definition at line 4 of file PyrC2Gradient.h.
const RealT FOURNINTHS = 4. / 9. |
Definition at line 5 of file PyrC2Gradient.h.
const RealT ONE = 1. |
Definition at line 6 of file PyrC2Gradient.h.
const RealT TWO = 2. |
Definition at line 7 of file PyrC2Gradient.h.
const RealT FOUR = 4. |
Definition at line 8 of file PyrC2Gradient.h.
const RealT EIGHT = 9. |
Definition at line 9 of file PyrC2Gradient.h.
const RealT TWENTYSEVEN = 27. |
Definition at line 10 of file PyrC2Gradient.h.
const RealT K1 = -FOURTH |
Definition at line 12 of file PyrC2Gradient.h.
const RealT K5 = ONE |
Definition at line 13 of file PyrC2Gradient.h.
const RealT K6 = -HALF |
Definition at line 14 of file PyrC2Gradient.h.
const RealT K10 = -ONE |
Definition at line 15 of file PyrC2Gradient.h.
const RealT K14 = ONE |
Definition at line 16 of file PyrC2Gradient.h.
const RealT K15A = TWENTYSEVEN / EIGHT |
Definition at line 17 of file PyrC2Gradient.h.
const RealT K15B = -TWENTYSEVEN / EIGHT |
Definition at line 18 of file PyrC2Gradient.h.
RealT r2 = rr * rr |
Definition at line 21 of file PyrC2Gradient.h.
RealT s2 = ss * ss |
Definition at line 22 of file PyrC2Gradient.h.
RealT t2 = tt * tt |
Definition at line 23 of file PyrC2Gradient.h.
RealT rs = rr * ss |
Definition at line 24 of file PyrC2Gradient.h.
RealT rt = rr * tt |
Definition at line 25 of file PyrC2Gradient.h.
RealT st = ss * tt |
Definition at line 26 of file PyrC2Gradient.h.
RealT r2s = r2 * ss |
Definition at line 27 of file PyrC2Gradient.h.
RealT rs2 = rr * s2 |
Definition at line 28 of file PyrC2Gradient.h.
Definition at line 29 of file PyrC2Gradient.h.
RealT tm = tt - ONE |
Definition at line 32 of file PyrC2Gradient.h.
Definition at line 33 of file PyrC2Gradient.h.
Definition at line 34 of file PyrC2Gradient.h.
Definition at line 35 of file PyrC2Gradient.h.