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

Go to the source code of this file.

Functions/Subroutines

subroutine writeview (ntr, adview, auview, fenv, nzsrad, jobnamef)
 

Function/Subroutine Documentation

◆ writeview()

subroutine writeview ( integer  ntr,
real*8, dimension(*)  adview,
real*8, dimension(*)  auview,
real*8, dimension(*)  fenv,
integer  nzsrad,
character*132, dimension(*)  jobnamef 
)
28 !
29 ! writing the viewfactors to file
30 !
31  implicit none
32 !
33  character*132 jobnamef(*),fnvw
34 !
35  integer ntr,nzsrad,i,k
36 !
37  real*8 adview(*),auview(*),fenv(*)
38 !
39  write(*,*) 'Writing the viewfactors to file'
40  write(*,*)
41 !
42  if(jobnamef(3)(1:1).eq.' ') then
43  do i=1,132
44  if(jobnamef(1)(i:i).eq.' ') exit
45  enddo
46  i=i-1
47  fnvw=jobnamef(1)(1:i)//'.vwf'
48  else
49  fnvw=jobnamef(3)
50  endif
51  open(10,file=fnvw,status='unknown',form='unformatted',
52  & access='sequential',err=10)
53 !
54  write(10) (adview(k),k=1,ntr)
55  write(10) (auview(k),k=1,2*nzsrad)
56  write(10)(fenv(k),k=1,ntr)
57  close(10)
58 !
59  return
60 !
61  10 write(*,*) '*ERROR in radmatrix: could not open file ',fnvw
62  call exit(201)
static double * adview
Definition: radflowload.c:42
static double * auview
Definition: radflowload.c:42
Hosted by OpenAircraft.com, (Michigan UAV, LLC)