Go to the source code of this file.
◆ readview()
subroutine readview |
( |
integer |
ntr, |
|
|
real*8, dimension(*) |
adview, |
|
|
real*8, dimension(*) |
auview, |
|
|
real*8, dimension(*) |
fenv, |
|
|
integer |
nzsrad, |
|
|
integer |
ithermal, |
|
|
character*132, dimension(*) |
jobnamef |
|
) |
| |
35 character*132 jobnamef(*),fnvw
37 integer ntr,nzsrad,ithermal,i,k
41 if(ithermal.eq.3)
then 42 write(*,*)
'*WARNING in radmatrix: viewfactors are being' 43 write(*,*)
' read from file for a thermomechani-' 44 write(*,*)
' cal calculation: they will not be ' 45 write(*,*)
' recalculated in every iteration.' 48 write(*,*)
'Reading the viewfactors from file' 51 if(jobnamef(2)(1:1).eq.
' ')
then 53 if(jobnamef(1)(i:i).eq.
' ')
exit 56 fnvw=jobnamef(1)(1:i)//
'.vwf' 60 inquire(file=fnvw,exist=exi)
62 open(10,file=fnvw,status=
'old',form=
'unformatted',
63 & access=
'sequential',err=10)
65 write(*,*)
'*ERROR in radmatrix: viewfactor file ',fnvw
66 write(*,*)
'does not exist' 70 read(10) (
adview(k),k=1,ntr)
71 read(10) (
auview(k),k=1,2*nzsrad)
72 read(10)(fenv(k),k=1,ntr)
78 10
write(*,*)
'*ERROR in radmatrix: could not open file ',fnvw
static double * adview
Definition: radflowload.c:42
static double * auview
Definition: radflowload.c:42