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

Go to the source code of this file.

Functions/Subroutines

subroutine sensitivitys (inpc, textpart, nmethod, istep, istat, n, iline, ipol, inl, ipoinp, inp, tieset, ipoinpc, ntie, tinc, tper, tmin, tmax, tincf)
 

Function/Subroutine Documentation

◆ sensitivitys()

subroutine sensitivitys ( character*1, dimension(*)  inpc,
character*132, dimension(16)  textpart,
integer  nmethod,
integer  istep,
integer  istat,
integer  n,
integer  iline,
integer  ipol,
integer  inl,
integer, dimension(2,*)  ipoinp,
integer, dimension(3,*)  inp,
character*81, dimension(3,*)  tieset,
integer, dimension(0:*)  ipoinpc,
integer  ntie,
real*8  tinc,
real*8  tper,
real*8  tmin,
real*8  tmax,
real*8  tincf 
)
22 !
23 ! reading the input deck: *SENSITIVITY
24 !
25  implicit none
26 !
27  character*1 inpc(*)
28  character*81 tieset(3,*)
29  character*132 textpart(16)
30 !
31  integer nmethod,istep,istat,n,key,i,
32  & iline,ipol,inl,ipoinp(2,*),inp(3,*),
33  & ipoinpc(0:*),ntie
34 !
35  real*8 tinc,tper,tmin,tmax,tincf
36 !
37  if(istep.lt.1) then
38  write(*,*) '*ERROR reading *SENSITIVITY: *SENSITIVITY can
39  &only be used within a STEP'
40  call exit(201)
41  endif
42 !
43  if(istep.lt.2) then
44  write(*,*) '*ERROR reading *SENSITIVITY: *SENSITIVITY'
45  write(*,*) ' requires a previous *STATIC, *GREEN or'
46  write(*,*) ' *FREQUENCY step'
47  call exit(201)
48  endif
49 !
50  tinc=0.d0
51  tper=0.d0
52  tmin=0.d0
53  tmax=0.d0
54  tincf=0.d0
55 !
56  do i=2,n
57  write(*,*)
58  & '*WARNING reading *SENSITIVITY: parameter not
59  &recognized:'
60  write(*,*) ' ',
61  & textpart(i)(1:index(textpart(i),' ')-1)
62  call inputwarning(inpc,ipoinpc,iline,
63  &"*SENSITIVITY%")
64  enddo
65 !
66  nmethod=12
67 !
68 ! check whether design variables were defined
69 !
70  do i=1,ntie
71  if(tieset(1,i)(81:81).eq.'D') exit
72  enddo
73  if(i.gt.ntie) then
74  write(*,*) '*ERROR reading *SENSITIVITY'
75  write(*,*) ' no design variables were defined'
76  call exit(201)
77  endif
78 !
79  call getnewline(inpc,textpart,istat,n,key,iline,ipol,inl,
80  & ipoinp,inp,ipoinpc)
81 !
82 !
83  return
subroutine inputwarning(inpc, ipoinpc, iline, text)
Definition: inputwarning.f:20
subroutine getnewline(inpc, textpart, istat, n, key, iline, ipol, inl, ipoinp, inp, ipoinpc)
Definition: getnewline.f:21
Hosted by OpenAircraft.com, (Michigan UAV, LLC)