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

Go to the source code of this file.

Functions/Subroutines

subroutine addimd (imd, nmd, node)
 

Function/Subroutine Documentation

◆ addimd()

subroutine addimd ( integer, dimension(*)  imd,
integer  nmd,
integer  node 
)
20 !
21 ! adds entity "node" to field imd. imd contains the
22 ! entities selected by the user in which results are to be
23 ! calculated in a modal dynamics calculation
24 !
25  implicit none
26 !
27  integer imd(*),nmd,node,id,l
28 !
29  call nident(imd,node,nmd,id)
30  do
31  if(id.gt.0) then
32  if(imd(id).eq.node)exit
33  endif
34  nmd=nmd+1
35  do l=nmd,id+2,-1
36  imd(l)=imd(l-1)
37  enddo
38  imd(id+1)=node
39  exit
40  enddo
41 !
42  return
subroutine nident(x, px, n, id)
Definition: nident.f:26
Hosted by OpenAircraft.com, (Michigan UAV, LLC)