Skip to main content

EquidistancePoint

This subroutine returns the equidistance points in the Hexahedron.

Interface 1

INTERFACE
MODULE PURE FUNCTION EquidistancePoint_Hexahedron(order, xij) &
& RESULT(ans)
INTEGER(I4B), INTENT(IN) :: order
!! order
REAL(DFP), OPTIONAL, INTENT(IN) :: xij(:, :)
!! number of rows = 3
!! number of cols = 8
REAL(DFP), ALLOCATABLE :: ans(:, :)
!! returned coordinates in $x_{iJ}$ format
END FUNCTION EquidistancePoint_Hexahedron
END INTERFACE

Interface 2

INTERFACE EquidistancePoint_Hexahedron
MODULE PURE FUNCTION EquidistancePoint_Hexahedron2(p, q, r, xij) &
& RESULT(ans)
INTEGER(I4B), INTENT(IN) :: p
!! order in x direction
INTEGER(I4B), INTENT(IN) :: q
!! order in y direction
INTEGER(I4B), INTENT(IN) :: r
!! order in z direction
REAL(DFP), OPTIONAL, INTENT(IN) :: xij(:, :)
!! number of rows = 3
!! number of cols = 8
REAL(DFP), ALLOCATABLE :: ans(:, :)
!! returned coordinates in $x_{iJ}$ format
END FUNCTION EquidistancePoint_Hexahedron2
END INTERFACE EquidistancePoint_Hexahedron
p,q,r

order in x, y, and z direction.

xij

xij is the nodal coordinates of Hexahedron. The number of rows in xij are 3, and number of columns in xij is 8.

Results

Order 1

See results
nox1x_1x2x_2x3x_3
1-1-1-1
21-1-1
311-1
4-11-1
5-1-11
61-11
7111
8-111

Order 2

See results
nox1x_1x2x_2x3x_3
1-1-1-1
21-1-1
311-1
4-11-1
5-1-11
61-11
7111
8-111
90-1-1
10-10-1
11-1-10
1210-1
131-10
1401-1
15110
16-110
170-11
18-101
19101
20011
2100-1
22001
23-100
24100
250-10
26010
27000

Order 3

See results
nox1x_1x2x_2x3x_3
1-1-1-1
21-1-1
311-1
4-11-1
5-1-11
61-11
7111
8-111
9-0.33333-1-1
100.33333-1-1
11-1-0.33333-1
12-10.33333-1
13-1-1-0.33333
14-1-10.33333
151-0.33333-1
1610.33333-1
171-1-0.33333
181-10.33333
190.333331-1
20-0.333331-1
2111-0.33333
22110.33333
23-11-0.33333
24-110.33333
25-0.33333-11
260.33333-11
27-1-0.333331
28-10.333331
291-0.333331
3010.333331
310.3333311
32-0.3333311
33-0.33333-0.33333-1
34-0.333330.33333-1
350.333330.33333-1
360.33333-0.33333-1
37-0.33333-0.333331
380.33333-0.333331
390.333330.333331
40-0.333330.333331
41-1-0.333330.33333
42-1-0.33333-0.33333
43-10.33333-0.33333
44-10.333330.33333
451-0.333330.33333
4610.333330.33333
4710.33333-0.33333
481-0.33333-0.33333
490.333331-0.33333
50-0.333331-0.33333
51-0.3333310.33333
520.3333310.33333
53-0.33333-1-0.33333
540.33333-1-0.33333
550.33333-10.33333
56-0.33333-10.33333
57-0.33333-0.33333-0.33333
580.33333-0.33333-0.33333
590.333330.33333-0.33333
60-0.333330.33333-0.33333
61-0.33333-0.333330.33333
620.33333-0.333330.33333
630.333330.333330.33333
64-0.333330.333330.33333