62 INTEGER,
INTENT(IN) :: ierr
63 IF(ierr /= 0)
print *,
"ROCBRUN_APN ERROR: unable to allocate memory"
64 CALL mpi_abort( mpi_comm_world, -1)
75 INTEGER,
INTENT(IN) :: comm
76 CHARACTER(*),
INTENT(IN) :: indir
77 INTEGER,
INTENT(OUT) :: nxmax
78 REAL(DBL),
INTENT (OUT) :: to_read
91 CHARACTER(*),
INTENT(IN) :: indir
102 g_apn%MPI_COMM_ROCBURN = comm
103 CALL mpi_comm_rank(comm, g_apn%rank, ierror)
120 SUBROUTINE initialize_1d( G_APN, bflag, P_mks, To, rhoc_mks, p_coor, rb_mks, Toa, fr, Tn, Tflame)
126 INTEGER,
INTENT(INOUT) :: bflag
127 REAL(DBL),
INTENT (IN) :: p_mks, to, rhoc_mks, p_coor(3)
128 REAL(DBL),
INTENT (OUT) :: rb_mks, toa, fr
129 REAL(DBL),
INTENT (OUT) :: tn(:)
130 REAL(DBL),
INTENT (OUT) :: tflame
139 IF( bflag == 0 )
THEN
160 IF (p_coor(1) <= g_apn%xmax(mat))
EXIT
162 mat =
min(mat, g_apn%nmat)
164 rb_mks = (g_apn%a_p(mat)*(p_mks*9.869232667e-6)**g_apn%n_p(mat))*0.01
165 tflame = g_apn%Tf_adiabatic(mat)
183 qc_mks, qc_old_mks, qr_mks, qr_old_mks, rhoc_mks, &
184 toa, rb_mks, fr, bflag, tnp1, tflame, p_coor)
186 REAL(DBL),
INTENT (IN) :: delt, p_mks, to
187 REAL(DBL),
INTENT (IN) :: tn(:)
188 REAL(DBL),
INTENT (IN) :: qc_mks, qc_old_mks, qr_mks, qr_old_mks
189 REAL(DBL),
INTENT (IN) :: rhoc_mks
190 REAL(DBL),
INTENT (INOUT) :: toa, rb_mks, fr
191 INTEGER,
INTENT (INOUT) :: bflag
192 REAL(DBL),
INTENT (OUT) :: tnp1(:)
193 REAL(DBL),
INTENT (OUT) :: tflame
194 REAL(DBL),
INTENT (IN) :: p_coor(3)
218 IF (p_coor(1) <= g_apn%xmax(mat))
EXIT
220 mat =
min(mat, g_apn%nmat)
222 rb_mks = (g_apn%a_p(mat)*(p_mks*9.869232667e-6)**g_apn%n_p(mat))*0.01
223 tflame = g_apn%Tf_adiabatic(mat)
subroutine get_burning_rate_1d(G_APN, delt, P_mks, To, Tn, qc_mks, qc_old_mks, qr_mks, qr_old_mks, rhoc_mks, Toa, rb_mks, fr, bflag, Tnp1, Tflame, p_coor)
subroutine initialize_0d(G_APN, comm, Indir, nxmax, To_read)
subroutine initialize_1d(G_APN, bflag, P_mks, To, rhoc_mks, p_coor, rb_mks, Toa, fr, Tn, Tflame)
Vector_n min(const Array_n_const &v1, const Array_n_const &v2)
subroutine finalize_0d(G_APN)
subroutine check_alloc(ierr)