64 CHARACTER(*),
INTENT(IN) :: indir
65 CHARACTER(*),
PARAMETER :: controlfile =
"RocburnAPNControl.txt"
73 CHARACTER(LEN=80) :: infile
84 if (indir(len_trim(indir):len_trim(indir)) ==
'/')
then
85 infile= trim(indir) // controlfile
87 infile= trim(indir) //
'/' // controlfile
98 READ(ir,*,iostat=ioerr) g_apn%a_p(mat)
104 READ(ir,*) g_apn%n_p(mat)
105 READ(ir,*) g_apn%nxmax
106 READ(ir,*) g_apn%Tf_adiabatic(mat)
108 READ(ir,*,iostat=ioerr) g_apn%xmax(mat)
110 g_apn%xmax(mat) = 1.0e+15
115 READ(ir,*,iostat=ioerr) g_apn%verbosity
122 IF(g_apn%rank .eq. 0 .AND. g_apn%verbosity .gt. 0)
THEN
123 WRITE(6,
'(A)')
'RocburnAPN: *********** Using APN Burn Model **************'
125 IF(g_apn%rank .eq. 0 .AND. g_apn%verbosity .gt. 1)
THEN
126 WRITE(6,
'(A,i3,A)')
'RocburnAPN: Found a total of ',g_apn%nmat,
' materials'
127 DO mat = 1, g_apn%nmat
128 WRITE(6,
'(A,i3,A,f12.4)')
'RocburnAPN: a_p(',mat,
') =',g_apn%a_p(mat)
129 WRITE(6,
'(A,i3,A,f12.4)')
'RocburnAPN: n_p(',mat,
') =',g_apn%n_p(mat)
130 WRITE(6,
'(A,i3)')
'RocburnAPN: nxmax= ',g_apn%nxmax
131 WRITE(6,
'(A,i3,A,f12.4)')
'RocburnAPN: Tf_adiabatic(',mat,
') = ',&
132 g_apn%Tf_adiabatic(mat)
133 WRITE(6,
'(A,f12.4)')
'RocburnAPN: To= ',g_apn%To
134 WRITE(6,
'(A,i3,A,f12.4)')
'RocburnAPN: xmax(',mat,
') =',&
139 IF (g_apn%verbosity.gt.2)
print *,
'RocburnAPN: rank=',g_apn%rank, &
140 ' done input ', controlfile
int status() const
Obtain the status of the attribute.
const std::string & unit() const
Obtain the unit of the attribute.