Skip to main content

FacetBasis

Returns the facet basis.

Interface

INTERFACE FacetBasis_Hexahedron
MODULE PURE FUNCTION FacetBasis_Hexahedron1( &
& n1, &
& n2, &
& x, &
& y, &
& z, &
& dim1, &
& dim2) &
& RESULT(ans)
INTEGER(I4B), INTENT(IN) :: n1
!! order along axis 1 of the face
!! it should be greater than 1
INTEGER(I4B), INTENT(IN) :: n2
!! order along axis 2 of the face
!! it should be greater than 1
REAL(DFP), INTENT(IN) :: x(:), y(:), z(:)
!! point of evaluation
!! these points should be between [-1, 1].
INTEGER(I4B), INTENT(IN) :: dim1
!! direction in n1 direction
INTEGER(I4B), INTENT(IN) :: dim2
!! direction in n2 direction
REAL(DFP) :: ans( &
& SIZE(x), &
& (n1 - 1_I4B) * (n1 - 1_I4B) + (n2 - 1_I4B) * (n2 - 1_I4B))
END FUNCTION FacetBasis_Hexahedron1
END INTERFACE FacetBasis_Hexahedron
n1, n2

These are order of approximations along the dim1 and dim2 axis.

n1,n22n_{1}, n_{2} \ge 2
dim1, dim2
  • dim1 denotes the first local axis of the facet.
  • dim2 denotes the second local axis of the facet.

dim-1 and dim-2 should be in lexographical order, that is, following combinations are allowed:

dim1dim2
12
13
23
x

x coordinate of all points.

y

y coordinate of all points.

z

z coordinate of all points.