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

Go to the source code of this file.

Functions/Subroutines

subroutine cident (x, px, n, id)
 

Function/Subroutine Documentation

◆ cident()

subroutine cident ( character*81, dimension(n)  x,
character*81  px,
integer  n,
integer  id 
)
26  implicit none
27  character*81 x,px
28  integer n,id,n2,m
29  dimension x(n)
30  id=0
31  if(n.eq.0) return
32  n2=n+1
33  do
34  m=(n2+id)/2
35  if(px.ge.x(m)) then
36  id=m
37  else
38  n2=m
39  endif
40  if((n2-id).eq.1) return
41  enddo
Hosted by OpenAircraft.com, (Michigan UAV, LLC)