OGS
anonymous_namespace{ShapeHex20-impl.h} Namespace Reference

Functions

double ShapeFunctionHexHQ_Corner (const double r, const double s, const double t)
double ShapeFunctionHexHQ_Middle (const double r, const double s, const double t)
double dShapeFunctionHexHQ_Corner (const double r, const double s, const double t, const int ty)
double dShapeFunctionHexHQ_Middle (const double r, const double s, const double t, const int ty)

Function Documentation

◆ dShapeFunctionHexHQ_Corner()

double anonymous_namespace{ShapeHex20-impl.h}::dShapeFunctionHexHQ_Corner ( const double r,
const double s,
const double t,
const int ty )
inline

Definition at line 18 of file ShapeHex20-impl.h.

20{
21 switch (ty)
22 {
23 case 0:
24 return 0.125 * (s - 1) * (t - 1) * (2.0 * r + s + t + 1.0);
25 case 1:
26 return 0.125 * (t - 1) * (r - 1) * (2.0 * s + r + t + 1.0);
27 case 2:
28 return 0.125 * (r - 1) * (s - 1) * (2.0 * t + s + r + 1.0);
29 }
30 return 0.0;
31}

◆ dShapeFunctionHexHQ_Middle()

double anonymous_namespace{ShapeHex20-impl.h}::dShapeFunctionHexHQ_Middle ( const double r,
const double s,
const double t,
const int ty )
inline

Definition at line 33 of file ShapeHex20-impl.h.

35{
36 switch (ty)
37 {
38 case 0:
39 return -0.5 * r * (s - 1) * (t - 1);
40 case 1:
41 return 0.25 * (1 - r * r) * (t - 1);
42 case 2:
43 return 0.25 * (1 - r * r) * (s - 1);
44 }
45 return 0.0;
46}

◆ ShapeFunctionHexHQ_Corner()

double anonymous_namespace{ShapeHex20-impl.h}::ShapeFunctionHexHQ_Corner ( const double r,
const double s,
const double t )
inline

Definition at line 6 of file ShapeHex20-impl.h.

8{
9 return 0.125 * (r - 1) * (s - 1) * (t - 1) * (r + s + t + 2.0);
10}

◆ ShapeFunctionHexHQ_Middle()

double anonymous_namespace{ShapeHex20-impl.h}::ShapeFunctionHexHQ_Middle ( const double r,
const double s,
const double t )
inline

Definition at line 12 of file ShapeHex20-impl.h.

14{
15 return 0.25 * (1 - r * r) * (s - 1) * (t - 1);
16}