Skip to content
ForCADDocumentation

elemConn_C0 Interface

public interface elemConn_C0

Build one-based tensor-product element connectivity.

These constructors describe a regular positive-degree layout: each directional count must satisfy nnode=nelem*p+1 with p>=1. Overloads accept scalar counts for curves and directional counts for surfaces or volumes. Direction 1 varies fastest in every element row. Use elemConn_Cn or the rank-specific NURBS cmp_elem bindings for arbitrary knot vectors, repeated knots, or degree-zero spaces.


Module Procedures

private pure function cmp_elemConn_C0_L(nnode, p) result(elemConn)

Build curve connectivity for degree-p elements joined with . The required node count satisfies nnode=nelem*p+1.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: nnode
integer, intent(in) :: p

Return Value integer, allocatable, (:,:)

private pure function cmp_elemConn_C0_S(nnode1, nnode2, p1, p2) result(elemConn)

Build direction-1-fastest tensor connectivity for a surface. The result has local controls per element.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: nnode1
integer, intent(in) :: nnode2
integer, intent(in) :: p1
integer, intent(in) :: p2

Return Value integer, allocatable, (:,:)

private pure function cmp_elemConn_C0_V(nnode1, nnode2, nnode3, p1, p2, p3) result(elemConn)

Build direction-1-fastest tensor connectivity for a volume. The result has controls per element.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: nnode1
integer, intent(in) :: nnode2
integer, intent(in) :: nnode3
integer, intent(in) :: p1
integer, intent(in) :: p2
integer, intent(in) :: p3

Return Value integer, allocatable, (:,:)