Skip to content

Commit 3e3773a

Browse files
committed
Tweak mathjax layout of boundary conditions
1 parent 152bd14 commit 3e3773a

File tree

1 file changed

+10
-22
lines changed

1 file changed

+10
-22
lines changed

lessons/13_Step_10.ipynb

Lines changed: 10 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@
7777
"\n",
7878
"and the source term consists of two initial spikes inside the domain, as follows:\n",
7979
"\n",
80-
"$b_{i,j}=100$ at $i=nx/4, j=ny/4$\n",
80+
"$b_{i,j}=100$ at $i=\\frac{1}{4}nx, j=\\frac{1}{4}ny$\n",
8181
"\n",
82-
"$b_{i,j}=-100$ at $i=nx*3/4, j=3/4 ny$\n",
82+
"$b_{i,j}=-100$ at $i=\\frac{3}{4}nx, j=\\frac{3}{4}ny$\n",
8383
"\n",
8484
"$b_{i,j}=0$ everywhere else.\n",
8585
"\n",
@@ -110,9 +110,7 @@
110110
{
111111
"cell_type": "code",
112112
"execution_count": 2,
113-
"metadata": {
114-
"collapsed": false
115-
},
113+
"metadata": {},
116114
"outputs": [],
117115
"source": [
118116
"# Parameters\n",
@@ -149,9 +147,7 @@
149147
{
150148
"cell_type": "code",
151149
"execution_count": 3,
152-
"metadata": {
153-
"collapsed": false
154-
},
150+
"metadata": {},
155151
"outputs": [],
156152
"source": [
157153
"for it in range(nt):\n",
@@ -179,9 +175,7 @@
179175
{
180176
"cell_type": "code",
181177
"execution_count": 4,
182-
"metadata": {
183-
"collapsed": false
184-
},
178+
"metadata": {},
185179
"outputs": [],
186180
"source": [
187181
"def plot2D(x, y, p):\n",
@@ -198,9 +192,7 @@
198192
{
199193
"cell_type": "code",
200194
"execution_count": 5,
201-
"metadata": {
202-
"collapsed": false
203-
},
195+
"metadata": {},
204196
"outputs": [
205197
{
206198
"data": {
@@ -248,9 +240,7 @@
248240
{
249241
"cell_type": "code",
250242
"execution_count": 6,
251-
"metadata": {
252-
"collapsed": false
253-
},
243+
"metadata": {},
254244
"outputs": [
255245
{
256246
"data": {
@@ -283,9 +273,7 @@
283273
{
284274
"cell_type": "code",
285275
"execution_count": 7,
286-
"metadata": {
287-
"collapsed": false
288-
},
276+
"metadata": {},
289277
"outputs": [
290278
{
291279
"data": {
@@ -415,9 +403,9 @@
415403
"name": "python",
416404
"nbconvert_exporter": "python",
417405
"pygments_lexer": "ipython3",
418-
"version": "3.5.2"
406+
"version": "3.6.5"
419407
}
420408
},
421409
"nbformat": 4,
422-
"nbformat_minor": 0
410+
"nbformat_minor": 1
423411
}

0 commit comments

Comments
 (0)