You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/tutorials/online_analysis/lattice/online_analysis.ipynb
-6Lines changed: 0 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -378,7 +378,6 @@
378
378
},
379
379
{
380
380
"cell_type": "code",
381
-
"id": "6f3ed63d-e324-443d-9b68-b2cf618d31c7",
382
381
"execution_count": 7,
383
382
"metadata": {},
384
383
"outputs": [
@@ -400,15 +399,13 @@
400
399
},
401
400
{
402
401
"cell_type": "markdown",
403
-
"id": "96c154fe-5ca8-4d89-91f8-8fd4e75cb80e",
404
402
"metadata": {},
405
403
"source": [
406
404
"We then apply the function `probe_points` to the `ux` and `uy` tensors computed in the last time step of the previous simulation. Note that all tensors are already on the DB, thus we can reference them by name. Finally, we download and plot the output (a 2D velocity field), which is stored as `probe_u` on the DB."
407
405
]
408
406
},
409
407
{
410
408
"cell_type": "code",
411
-
"id": "36e3b415-dcc1-4d25-9cce-52388146a4bb",
412
409
"execution_count": 8,
413
410
"metadata": {},
414
411
"outputs": [
@@ -435,7 +432,6 @@
435
432
},
436
433
{
437
434
"cell_type": "markdown",
438
-
"id": "9d7e4966-a0de-480c-9556-936197a5a5d2",
439
435
"metadata": {},
440
436
"source": [
441
437
"### Uploading a function inline\n",
@@ -457,7 +453,6 @@
457
453
},
458
454
{
459
455
"cell_type": "markdown",
460
-
"id": "1c4daf43-34d0-482a-b9b5-b3b6f1e173c4",
461
456
"metadata": {},
462
457
"source": [
463
458
"We then store the function on the DB under the key `norm_function`."
@@ -475,7 +470,6 @@
475
470
},
476
471
{
477
472
"cell_type": "markdown",
478
-
"id": "19409ac6-e118-44db-a847-2d905fdf0331",
479
473
"metadata": {},
480
474
"source": [
481
475
"Note that the key we used identifies a functional unit containing the function itself: this is similar to the key used to store the `probe` script above. When we want to run the function, we just call it with `run_script`, by indicating the `script` key as `\"norm_function\"` and the name of the function itself as `\"compute_norm\"`."
0 commit comments