changed: FTCS | fixed subscript issue

This commit is contained in:
Hannes Signer 2023-06-28 10:06:49 +02:00
parent 916f455174
commit e57c5462eb

View File

@ -134,7 +134,7 @@
" # top\n",
" for j in range(0, grid_size['x']):\n",
" C_t1[0,j] = C_t[0,j] \\\n",
" + max_stable_time_step/delta_y**2 * (alpha_interblock(alpha_y[1,j], alpha_x[0,j]) * C_t[1,j] \n",
" + max_stable_time_step/delta_y**2 * (alpha_interblock(alpha_y[1,j], alpha_y[0,j]) * C_t[1,j] \n",
" - (alpha_interblock(alpha_y[1,j], alpha_y[0,j]) + 2 * alpha_y[0,j]) * C_t[0,j]\n",
" + 2 * alpha_y[0,j] * bc_top)\n",
"\n",