CalculiX  2.13
A Free Software Three-Dimensional Structural Finite Element Program
networkelementpernode.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine networkelementpernode (iponoel, inoel, lakon, ipkon, kon, inoelsize, nflow, ieg, ne, network)
 

Function/Subroutine Documentation

◆ networkelementpernode()

subroutine networkelementpernode ( integer, dimension(*)  iponoel,
integer, dimension(2,*)  inoel,
character*8, dimension(*)  lakon,
integer, dimension(*)  ipkon,
integer, dimension(*)  kon,
integer  inoelsize,
integer  nflow,
integer, dimension(*)  ieg,
integer  ne,
integer  network 
)
21 !
22  implicit none
23 !
24  character*8 lakon(*)
25 !
26  integer iponoel(*),inoel(2,*),ipkon(*),kon(*),i,j,k,
27  & inoelfree,nope,indexe,node,inoelsize,nflow,ieg(*),ne,
28  & network
29 !
30 ! determining the elements belonging to the nodes of
31 ! the elements
32 !
33 ! network<=1: simultaneous procedure
34 ! network>1: alternating procedure
35 !
36  inoelfree=1
37 !
38  if(network.gt.1) then
39  do k=1,nflow
40  i=ieg(k)
41  indexe=ipkon(i)
42  do j=1,3
43  node=kon(indexe+j)
44  if(node.eq.0) cycle
45  inoel(1,inoelfree)=i
46  inoel(2,inoelfree)=iponoel(node)
47  iponoel(node)=inoelfree
48  inoelfree=inoelfree+1
49  enddo
50  enddo
51  else
52  do i=1,ne
53  if(lakon(i)(1:1).eq.'D') then
54  indexe=ipkon(i)
55  do j=1,3
56  node=kon(indexe+j)
57  if(node.eq.0) cycle
58  inoel(1,inoelfree)=i
59  inoel(2,inoelfree)=iponoel(node)
60  iponoel(node)=inoelfree
61  inoelfree=inoelfree+1
62  enddo
63  endif
64  enddo
65  endif
66 !
67 ! size of field inoel
68 !
69  inoelsize=inoelfree-1
70 !
71  return
Hosted by OpenAircraft.com, (Michigan UAV, LLC)