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

Go to the source code of this file.

Functions/Subroutines

subroutine identamta (amta, reftime, istart, iend, id)
 

Function/Subroutine Documentation

◆ identamta()

subroutine identamta ( real*8, dimension(2,*)  amta,
real*8  reftime,
integer  istart,
integer  iend,
integer  id 
)
26 !
27  implicit none
28 !
29  integer id,istart,iend,n2,m
30  real*8 amta(2,*),reftime
31  id=istart-1
32  if(iend.lt.istart) return
33  n2=iend+1
34  do
35  m=(n2+id)/2
36  if(reftime.ge.amta(1,m)) then
37  id=m
38  else
39  n2=m
40  endif
41  if((n2-id).eq.1) return
42  enddo
Hosted by OpenAircraft.com, (Michigan UAV, LLC)