VTK  9.4.20241104
Variables
PyrF2Gradient.h File Reference

Go to the source code of this file.

Variables

const RealT HALF = 0.5
 
const RealT ONE = 1.
 
const RealT ZERO = 0.
 
const RealT TWO = 2.
 
const RealT THREE = 3.
 
const RealT FOUR = 4.
 
const RealT SIXTEENTHIRDS = 16. / 3.
 
const RealT EIGHT = 8.
 
const RealT TWENTYSEVEN = 27.
 
const RealT FOURTH = 0.25
 
const RealT NINTH = 1. / 9.
 
const RealT THREESIXTYFOURTHS = 3. / 64.
 
const RealT EIGHTH = 1. / 8.
 
const RealT FOURNINTHS = 4. / 9.
 
const RealT THREESIXTEENTHS = 3. / 16.
 
const RealT NINESIXTEENTHS = 9. / 16.
 
const RealT K1 = -0.25
 
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
 
const RealT K19 = -SIXTEENTHIRDS
 
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)
 

Variable Documentation

◆ HALF

const RealT HALF = 0.5

Definition at line 1 of file PyrF2Gradient.h.

◆ ONE

const RealT ONE = 1.

Definition at line 2 of file PyrF2Gradient.h.

◆ ZERO

const RealT ZERO = 0.

Definition at line 3 of file PyrF2Gradient.h.

◆ TWO

const RealT TWO = 2.

Definition at line 4 of file PyrF2Gradient.h.

◆ THREE

const RealT THREE = 3.

Definition at line 5 of file PyrF2Gradient.h.

◆ FOUR

const RealT FOUR = 4.

Definition at line 6 of file PyrF2Gradient.h.

◆ SIXTEENTHIRDS

const RealT SIXTEENTHIRDS = 16. / 3.

Definition at line 7 of file PyrF2Gradient.h.

◆ EIGHT

const RealT EIGHT = 8.

Definition at line 8 of file PyrF2Gradient.h.

◆ TWENTYSEVEN

const RealT TWENTYSEVEN = 27.

Definition at line 9 of file PyrF2Gradient.h.

◆ FOURTH

const RealT FOURTH = 0.25

Definition at line 10 of file PyrF2Gradient.h.

◆ NINTH

const RealT NINTH = 1. / 9.

Definition at line 11 of file PyrF2Gradient.h.

◆ THREESIXTYFOURTHS

const RealT THREESIXTYFOURTHS = 3. / 64.

Definition at line 12 of file PyrF2Gradient.h.

◆ EIGHTH

const RealT EIGHTH = 1. / 8.

Definition at line 13 of file PyrF2Gradient.h.

◆ FOURNINTHS

const RealT FOURNINTHS = 4. / 9.

Definition at line 14 of file PyrF2Gradient.h.

◆ THREESIXTEENTHS

const RealT THREESIXTEENTHS = 3. / 16.

Definition at line 15 of file PyrF2Gradient.h.

◆ NINESIXTEENTHS

const RealT NINESIXTEENTHS = 9. / 16.

Definition at line 16 of file PyrF2Gradient.h.

◆ K1

const RealT K1 = -0.25

Definition at line 18 of file PyrF2Gradient.h.

◆ K5

const RealT K5 = ONE

Definition at line 19 of file PyrF2Gradient.h.

◆ K6

const RealT K6 = -HALF

Definition at line 20 of file PyrF2Gradient.h.

◆ K10

const RealT K10 = -ONE

Definition at line 21 of file PyrF2Gradient.h.

◆ K14

const RealT K14 = ONE

Definition at line 22 of file PyrF2Gradient.h.

◆ K15A

const RealT K15A = TWENTYSEVEN / EIGHT

Definition at line 23 of file PyrF2Gradient.h.

◆ K15B

const RealT K15B = -TWENTYSEVEN / EIGHT

Definition at line 24 of file PyrF2Gradient.h.

◆ K19

const RealT K19 = -SIXTEENTHIRDS

Definition at line 25 of file PyrF2Gradient.h.

◆ r2

RealT r2 = rr * rr

Definition at line 27 of file PyrF2Gradient.h.

◆ s2

RealT s2 = ss * ss

Definition at line 28 of file PyrF2Gradient.h.

◆ t2

RealT t2 = tt * tt

Definition at line 29 of file PyrF2Gradient.h.

◆ rs

RealT rs = rr * ss

Definition at line 30 of file PyrF2Gradient.h.

◆ rt

RealT rt = rr * tt

Definition at line 31 of file PyrF2Gradient.h.

◆ st

RealT st = ss * tt

Definition at line 32 of file PyrF2Gradient.h.

◆ r2s

RealT r2s = r2 * ss

Definition at line 33 of file PyrF2Gradient.h.

◆ rs2

RealT rs2 = rr * s2

Definition at line 34 of file PyrF2Gradient.h.

◆ r2s2

RealT r2s2 = r2 * s2

Definition at line 35 of file PyrF2Gradient.h.

◆ tm

RealT tm = tt - ONE

Definition at line 37 of file PyrF2Gradient.h.

◆ tm2

RealT tm2 = tm * tm

Definition at line 38 of file PyrF2Gradient.h.

◆ tm3

RealT tm3 = tm2 * tm

Definition at line 39 of file PyrF2Gradient.h.

◆ tm4

RealT tm4 = tm3 * tm

Definition at line 40 of file PyrF2Gradient.h.

◆ mt

RealT mt = abs(tm) > eps ? ONE / tm : ZERO

Definition at line 43 of file PyrF2Gradient.h.

◆ m2t

RealT m2t = abs(tm2) > eps ? ONE / tm2 : ZERO

Definition at line 44 of file PyrF2Gradient.h.

◆ m3t

RealT m3t = abs(tm3) > eps ? ONE / tm3 : ZERO

Definition at line 45 of file PyrF2Gradient.h.

◆ m4t

RealT m4t = abs(tm4) > eps ? ONE / tm4 : ZERO

Definition at line 46 of file PyrF2Gradient.h.

◆ basisGradient

basisGradient[41] = K1 * (rs * mt - rr - ss + tt + (ss * mt - ONE) * (rr + ss - ONE) - ONE)

Definition at line 48 of file PyrF2Gradient.h.