25 type (hecmwst_varray_int),
allocatable :: clu(:), cll(:)
26 integer(kind=kint) :: itype, is, ie, iss, ise, ic_type, icel
27 integer(kind=kint) :: i, j, k, kk
28 integer(kind=kint) :: nn, nid(2048), nid1, nid2
35 hecmat%NP= hecmesh%n_node
36 hecmat%N = hecmesh%nn_internal
46 do itype= 1, hecmesh%n_elem_type
47 is= hecmesh%elem_type_index(itype-1) + 1
48 ie= hecmesh%elem_type_index(itype )
49 ic_type= hecmesh%elem_type_item(itype)
53 iss = hecmesh%elem_node_index(icel-1)
54 ise = hecmesh%elem_node_index(icel )
57 nid(j) = hecmesh%elem_node_item (iss+j)
63 if( nid1 < nid2 )
then
65 else if( nid1 > nid2 )
then
79 allocate (hecmat%indexL(0:hecmat%NP), hecmat%indexU(0:hecmat%NP))
88 hecmat%NPL = hecmat%indexL(hecmat%NP)
89 hecmat%NPU = hecmat%indexU(hecmat%NP)
91 allocate (hecmat%itemL(hecmat%NPL), hecmat%itemU(hecmat%NPU))
95 kk = k + hecmat%indexL(i-1)
99 kk = k + hecmat%indexU(i-1)