VTK  9.4.20241108
Variables
PyrC2Basis.h File Reference

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 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 r2t = r2 * tt
 
RealT rs2 = rr * s2
 
RealT s2t = s2 * tt
 
RealT rt2 = rr * t2
 
RealT st2 = ss * t2
 
RealT r2s2 = r2 * s2
 
RealT tm = tt - ONE
 
RealT tm2 = tm * tm
 
RealT mt = abs(tm) > eps ? ONE / tm : ZERO
 
RealT m2t = abs(tm2) > eps ? ONE / tm2 : ZERO
 
 basis [0] = K1 * (rr + ss - ONE) * (rs * mt - rr - ss + tt - ONE)
 

Variable Documentation

◆ ZERO

const RealT ZERO = 0.

Definition at line 1 of file PyrC2Basis.h.

◆ HALF

const RealT HALF = 0.5

Definition at line 2 of file PyrC2Basis.h.

◆ FOURTH

const RealT FOURTH = 0.25

Definition at line 3 of file PyrC2Basis.h.

◆ NINTH

const RealT NINTH = 1. / 9.

Definition at line 4 of file PyrC2Basis.h.

◆ FOURNINTHS

const RealT FOURNINTHS = 4. / 9.

Definition at line 5 of file PyrC2Basis.h.

◆ ONE

const RealT ONE = 1.

Definition at line 6 of file PyrC2Basis.h.

◆ TWO

const RealT TWO = 2.

Definition at line 7 of file PyrC2Basis.h.

◆ EIGHT

const RealT EIGHT = 9.

Definition at line 8 of file PyrC2Basis.h.

◆ TWENTYSEVEN

const RealT TWENTYSEVEN = 27.

Definition at line 9 of file PyrC2Basis.h.

◆ K1

const RealT K1 = -FOURTH

Definition at line 11 of file PyrC2Basis.h.

◆ K5

const RealT K5 = ONE

Definition at line 12 of file PyrC2Basis.h.

◆ K6

const RealT K6 = -HALF

Definition at line 13 of file PyrC2Basis.h.

◆ K10

const RealT K10 = -ONE

Definition at line 14 of file PyrC2Basis.h.

◆ K14

const RealT K14 = ONE

Definition at line 15 of file PyrC2Basis.h.

◆ K15A

const RealT K15A = TWENTYSEVEN / EIGHT

Definition at line 16 of file PyrC2Basis.h.

◆ K15B

const RealT K15B = -TWENTYSEVEN / EIGHT

Definition at line 17 of file PyrC2Basis.h.

◆ r2

RealT r2 = rr * rr

Definition at line 20 of file PyrC2Basis.h.

◆ s2

RealT s2 = ss * ss

Definition at line 21 of file PyrC2Basis.h.

◆ t2

RealT t2 = tt * tt

Definition at line 22 of file PyrC2Basis.h.

◆ rs

RealT rs = rr * ss

Definition at line 23 of file PyrC2Basis.h.

◆ rt

RealT rt = rr * tt

Definition at line 24 of file PyrC2Basis.h.

◆ st

RealT st = ss * tt

Definition at line 25 of file PyrC2Basis.h.

◆ r2s

RealT r2s = r2 * ss

Definition at line 26 of file PyrC2Basis.h.

◆ r2t

RealT r2t = r2 * tt

Definition at line 27 of file PyrC2Basis.h.

◆ rs2

RealT rs2 = rr * s2

Definition at line 28 of file PyrC2Basis.h.

◆ s2t

RealT s2t = s2 * tt

Definition at line 29 of file PyrC2Basis.h.

◆ rt2

RealT rt2 = rr * t2

Definition at line 30 of file PyrC2Basis.h.

◆ st2

RealT st2 = ss * t2

Definition at line 31 of file PyrC2Basis.h.

◆ r2s2

RealT r2s2 = r2 * s2

Definition at line 32 of file PyrC2Basis.h.

◆ tm

RealT tm = tt - ONE

Definition at line 35 of file PyrC2Basis.h.

◆ tm2

RealT tm2 = tm * tm

Definition at line 36 of file PyrC2Basis.h.

◆ mt

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

Definition at line 39 of file PyrC2Basis.h.

◆ m2t

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

Definition at line 40 of file PyrC2Basis.h.

◆ basis

basis[12] = K1 * (rr + ss - ONE) * (rs * mt - rr - ss + tt - ONE)

Definition at line 43 of file PyrC2Basis.h.