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 25 of file ShapeHex20-impl.h.

27{
28 switch (ty)
29 {
30 case 0:
31 return 0.125 * (s - 1) * (t - 1) * (2.0 * r + s + t + 1.0);
32 case 1:
33 return 0.125 * (t - 1) * (r - 1) * (2.0 * s + r + t + 1.0);
34 case 2:
35 return 0.125 * (r - 1) * (s - 1) * (2.0 * t + s + r + 1.0);
36 }
37 return 0.0;
38}

◆ 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 40 of file ShapeHex20-impl.h.

42{
43 switch (ty)
44 {
45 case 0:
46 return -0.5 * r * (s - 1) * (t - 1);
47 case 1:
48 return 0.25 * (1 - r * r) * (t - 1);
49 case 2:
50 return 0.25 * (1 - r * r) * (s - 1);
51 }
52 return 0.0;
53}

◆ ShapeFunctionHexHQ_Corner()

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

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

15{
16 return 0.125 * (r - 1) * (s - 1) * (t - 1) * (r + s + t + 2.0);
17}

◆ ShapeFunctionHexHQ_Middle()

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

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

21{
22 return 0.25 * (1 - r * r) * (s - 1) * (t - 1);
23}