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

Go to the source code of this file.

Functions/Subroutines

subroutine substructurematrixoutputs (textpart, istep, inpc, istat, n, key, iline, ipol, inl, ipoinp, inp, jobnamec, ipoinpc)
 

Function/Subroutine Documentation

◆ substructurematrixoutputs()

subroutine substructurematrixoutputs ( character*132, dimension(16)  textpart,
integer  istep,
character*1, dimension(*)  inpc,
integer  istat,
integer  n,
integer  key,
integer  iline,
integer  ipol,
integer  inl,
integer, dimension(2,*)  ipoinp,
integer, dimension(3,*)  inp,
character*132, dimension(*)  jobnamec,
integer, dimension(0:*)  ipoinpc 
)
21 !
22 ! reading the input deck: *SUBSTRUCTURE MATRIX OUTPUT
23 !
24  implicit none
25 !
26  character*1 inpc(*)
27  character*132 textpart(16),jobnamec(*)
28 !
29  integer i,istep,n,istat,iline,ipol,inl,ipoinp(2,*),
30  & inp(3,*),key,j,k,l,ipoinpc(0:*)
31 !
32  if(istep.lt.1) then
33  write(*,*) '*ERROR reading *SUBSTRUCTURE MATRIX OUTPUT:'
34  write(*,*) ' *SUBSTRUCTURE MATRIX OUTPUT can '
35  write(*,*) ' only be used within a STEP'
36  call exit(201)
37  endif
38 !
39  do i=2,n
40  if(textpart(i)(1:13).eq.'STIFFNESS=YES') then
41  elseif(textpart(i)(1:22).eq.'OUTPUTFILE=USERDEFINED') then
42  elseif(textpart(i)(1:9).eq.'FILENAME=') then
43  jobnamec(5)(1:123)=textpart(i)(10:132)
44  jobnamec(5)(124:132)=' '
45  loop2: do j=1,123
46  if(jobnamec(5)(j:j).eq.'"') then
47  do k=j+1,123
48  if(jobnamec(5)(k:k).eq.'"') then
49  do l=k-1,123
50  jobnamec(5)(l:l)=' '
51  exit loop2
52  enddo
53  endif
54  jobnamec(5)(k-1:k-1)=jobnamec(5)(k:k)
55  enddo
56  jobnamec(5)(123:123)=' '
57  endif
58  enddo loop2
59  else
60  write(*,*)
61  & '*WARNING reading *VIEWFACTOR: parameter not recognized:'
62  write(*,*) ' ',
63  & textpart(i)(1:index(textpart(i),' ')-1)
64  call inputwarning(inpc,ipoinpc,iline,
65  &"*VIEWFACTOR%")
66  endif
67  enddo
68 !
69  call getnewline(inpc,textpart,istat,n,key,iline,ipol,inl,
70  & ipoinp,inp,ipoinpc)
71 !
72  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)