{ "cells": [ { "cell_type": "markdown", "id": "c4ee5bcf-35c3-4b10-b454-05184638b405", "metadata": {}, "source": [ "# Space Charge Benchmark\n", "\n", "Impact-Z only space charge benchmark from\n", "\n", "C. Mayes, R. Ryne, D. Sagan\n", "3D SPACE CHARGE IN BMAD\n", "https://epaper.kek.jp/ipac2018/papers/thpak085.pdf" ] }, { "cell_type": "code", "execution_count": 1, "id": "d1db5730-d9df-4acb-a69d-9fda86c3fbcd", "metadata": { "execution": { "iopub.execute_input": "2025-05-07T01:46:25.425291Z", "iopub.status.busy": "2025-05-07T01:46:25.425128Z", "iopub.status.idle": "2025-05-07T01:46:26.927121Z", "shell.execute_reply": "2025-05-07T01:46:26.926545Z" } }, "outputs": [], "source": [ "import impact.z as IZ\n", "from impact.z import ImpactZ, ImpactZInput, WriteFull, Drift\n", "\n", "from scipy.constants import c\n", "\n", "from pmd_beamphysics.units import mec2\n", "\n", "import numpy as np" ] }, { "cell_type": "code", "execution_count": 2, "id": "f0dbabdc-47a7-4f53-9d75-06f2956a4c1d", "metadata": { "execution": { "iopub.execute_input": "2025-05-07T01:46:26.929182Z", "iopub.status.busy": "2025-05-07T01:46:26.928744Z", "iopub.status.idle": "2025-05-07T01:46:26.931758Z", "shell.execute_reply": "2025-05-07T01:46:26.931292Z" } }, "outputs": [], "source": [ "energy0 = 10e6\n", "gamma0 = energy0 / mec2\n", "betagamma0 = np.sqrt(gamma0**2 - 1)\n", "sigma_x0 = 1e-3\n", "sigma_y0 = 1e-3\n", "sigma_z0 = 0.1e-3\n", "\n", "beta_x0 = 1000\n", "beta_y0 = 100\n", "n_particle = 100_000" ] }, { "cell_type": "code", "execution_count": 3, "id": "16bf3251-1667-4c09-abdb-a181f80d6265", "metadata": { "execution": { "iopub.execute_input": "2025-05-07T01:46:26.933289Z", "iopub.status.busy": "2025-05-07T01:46:26.933125Z", "iopub.status.idle": "2025-05-07T01:46:26.953961Z", "shell.execute_reply": "2025-05-07T01:46:26.953482Z" } }, "outputs": [ { "data": { "text/html": [ "\n", " \n", "\n", "\n", "\n", "\n", "\n", "\n", "
ImpactZInput(\n",
       "    seed=-1,\n",
       "    n_particle=100000,\n",
       "    nx=32,\n",
       "    ny=32,\n",
       "    nz=32,\n",
       "    distribution=IZ.DistributionType.gauss,\n",
       "    twiss_beta_x=1000.0,\n",
       "    twiss_norm_emit_x=1.954394516081986e-08,\n",
       "    twiss_beta_y=100.0,\n",
       "    twiss_norm_emit_y=1.9543945160819862e-07,\n",
       "    twiss_beta_z=156107.99655273516,\n",
       "    twiss_norm_emit_z=1.5610799655273516e-07,\n",
       "    average_current=0.13000000000000006,\n",
       "    reference_kinetic_energy=9489001.04931,\n",
       "    reference_particle_mass=510998.95069,\n",
       "    reference_particle_charge=-1.0,\n",
       "    reference_frequency=1300000000.0,\n",
       "    lattice=[\n",
       "        WriteFull(name='initial_particles', file_id=100),\n",
       "        Drift(name='P1', metadata={'bmad_csr': False, 'bmad_id': 1}, length=1.0, steps=100, map_steps=100),\n",
       "        WriteFull(name='final_particles', file_id=101)\n",
       "    ]\n",
       ")\n",
       "
\n", "\n", "\n", "\n", "
\n", " Including defaults\n", " \n", "\n", "\n", "\n", "\n", "\n", "\n", "
ImpactZInput(\n",
       "    initial_particles=None,\n",
       "    ncpu_y=1,\n",
       "    ncpu_z=1,\n",
       "    gpu=IZ.GPUFlag.disabled,\n",
       "    seed=-1,\n",
       "    n_particle=100000,\n",
       "    integrator_type=IZ.IntegratorType.linear_map,\n",
       "    err=1,\n",
       "    diagnostic_type=IZ.DiagnosticType.extended,\n",
       "    nx=32,\n",
       "    ny=32,\n",
       "    nz=32,\n",
       "    boundary_type=IZ.BoundaryType.trans_open_longi_open,\n",
       "    radius_x=0.0,\n",
       "    radius_y=0.0,\n",
       "    z_period_size=0.0,\n",
       "    distribution=IZ.DistributionType.gauss,\n",
       "    restart=0,\n",
       "    subcycle=0,\n",
       "    nbunch=1,\n",
       "    particle_list=[0],\n",
       "    current_list=[0.0],\n",
       "    charge_over_mass_list=[0.0],\n",
       "    twiss_alpha_x=0.0,\n",
       "    twiss_beta_x=1000.0,\n",
       "    twiss_norm_emit_x=1.954394516081986e-08,\n",
       "    twiss_mismatch_x=1.0,\n",
       "    twiss_mismatch_px=1.0,\n",
       "    twiss_offset_x=0.0,\n",
       "    twiss_offset_px=0.0,\n",
       "    twiss_alpha_y=0.0,\n",
       "    twiss_beta_y=100.0,\n",
       "    twiss_norm_emit_y=1.9543945160819862e-07,\n",
       "    twiss_mismatch_y=1.0,\n",
       "    twiss_mismatch_py=1.0,\n",
       "    twiss_offset_y=0.0,\n",
       "    twiss_offset_py=0.0,\n",
       "    twiss_alpha_z=1e-09,\n",
       "    twiss_beta_z=156107.99655273516,\n",
       "    twiss_norm_emit_z=1.5610799655273516e-07,\n",
       "    twiss_mismatch_z=1.0,\n",
       "    twiss_mismatch_e_z=1.0,\n",
       "    twiss_offset_phase_z=0.0,\n",
       "    twiss_offset_energy_z=0.0,\n",
       "    average_current=0.13000000000000006,\n",
       "    reference_kinetic_energy=9489001.04931,\n",
       "    reference_particle_mass=510998.95069,\n",
       "    reference_particle_charge=-1.0,\n",
       "    reference_frequency=1300000000.0,\n",
       "    initial_phase_ref=0.0,\n",
       "    lattice=[\n",
       "        WriteFull(\n",
       "            name='initial_particles',\n",
       "            metadata={},\n",
       "            length=0.0,\n",
       "            steps=0,\n",
       "            file_id=100,\n",
       "            type_id=-2,\n",
       "            unused_2=0.0,\n",
       "            sample_frequency=0\n",
       "        ),\n",
       "        Drift(\n",
       "            name='P1',\n",
       "            metadata={'bmad_csr': False, 'bmad_id': 1},\n",
       "            length=1.0,\n",
       "            steps=100,\n",
       "            map_steps=100,\n",
       "            type_id=0,\n",
       "            radius=1.0\n",
       "        ),\n",
       "        WriteFull(\n",
       "            name='final_particles',\n",
       "            metadata={},\n",
       "            length=0.0,\n",
       "            steps=0,\n",
       "            file_id=101,\n",
       "            type_id=-2,\n",
       "            unused_2=0.0,\n",
       "            sample_frequency=0\n",
       "        )\n",
       "    ],\n",
       "    filename=None,\n",
       "    verbose=False\n",
       ")\n",
       "
\n", "\n", "\n", "\n", "
\n", " " ], "text/plain": [ "ImpactZInput(\n", " initial_particles=None,\n", " ncpu_y=1,\n", " ncpu_z=1,\n", " gpu=IZ.GPUFlag.disabled,\n", " seed=-1,\n", " n_particle=100000,\n", " integrator_type=IZ.IntegratorType.linear_map,\n", " err=1,\n", " diagnostic_type=IZ.DiagnosticType.extended,\n", " nx=32,\n", " ny=32,\n", " nz=32,\n", " boundary_type=IZ.BoundaryType.trans_open_longi_open,\n", " radius_x=0.0,\n", " radius_y=0.0,\n", " z_period_size=0.0,\n", " distribution=IZ.DistributionType.gauss,\n", " restart=0,\n", " subcycle=0,\n", " nbunch=1,\n", " particle_list=[0],\n", " current_list=[0.0],\n", " charge_over_mass_list=[0.0],\n", " twiss_alpha_x=0.0,\n", " twiss_beta_x=1000.0,\n", " twiss_norm_emit_x=1.954394516081986e-08,\n", " twiss_mismatch_x=1.0,\n", " twiss_mismatch_px=1.0,\n", " twiss_offset_x=0.0,\n", " twiss_offset_px=0.0,\n", " twiss_alpha_y=0.0,\n", " twiss_beta_y=100.0,\n", " twiss_norm_emit_y=1.9543945160819862e-07,\n", " twiss_mismatch_y=1.0,\n", " twiss_mismatch_py=1.0,\n", " twiss_offset_y=0.0,\n", " twiss_offset_py=0.0,\n", " twiss_alpha_z=1e-09,\n", " twiss_beta_z=156107.99655273516,\n", " twiss_norm_emit_z=1.5610799655273516e-07,\n", " twiss_mismatch_z=1.0,\n", " twiss_mismatch_e_z=1.0,\n", " twiss_offset_phase_z=0.0,\n", " twiss_offset_energy_z=0.0,\n", " average_current=0.13000000000000006,\n", " reference_kinetic_energy=9489001.04931,\n", " reference_particle_mass=510998.95069,\n", " reference_particle_charge=-1.0,\n", " reference_frequency=1300000000.0,\n", " initial_phase_ref=0.0,\n", " lattice=[\n", " WriteFull(\n", " name='initial_particles',\n", " metadata={},\n", " length=0.0,\n", " steps=0,\n", " file_id=100,\n", " type_id=-2,\n", " unused_2=0.0,\n", " sample_frequency=0\n", " ),\n", " Drift(\n", " name='P1',\n", " metadata={'bmad_csr': False, 'bmad_id': 1},\n", " length=1.0,\n", " steps=100,\n", " map_steps=100,\n", " type_id=0,\n", " radius=1.0\n", " ),\n", " WriteFull(\n", " name='final_particles',\n", " metadata={},\n", " length=0.0,\n", " steps=0,\n", " file_id=101,\n", " type_id=-2,\n", " unused_2=0.0,\n", " sample_frequency=0\n", " )\n", " ],\n", " filename=None,\n", " verbose=False\n", ")" ] }, "execution_count": 3, "metadata": {}, "output_type": "execute_result" } ], "source": [ "input = ImpactZInput(\n", " initial_particles=None,\n", " ncpu_y=1,\n", " ncpu_z=1,\n", " seed=-1,\n", " n_particle=n_particle,\n", " nx=32,\n", " ny=32,\n", " nz=32,\n", " distribution=IZ.DistributionType.gauss,\n", " twiss_beta_x=beta_x0,\n", " twiss_norm_emit_x=sigma_x0**2 * betagamma0 / beta_x0,\n", " twiss_beta_y=beta_y0,\n", " twiss_norm_emit_y=sigma_y0**2 * betagamma0 / beta_y0,\n", " average_current=0.13000000000000006,\n", " reference_kinetic_energy=9489001.04931,\n", " reference_particle_mass=510998.95069,\n", " reference_particle_charge=-1.0,\n", " reference_frequency=1300000000.0,\n", " lattice=[\n", " WriteFull(name=\"initial_particles\", file_id=100),\n", " Drift(\n", " name=\"P1\",\n", " metadata={\"bmad_csr\": False, \"bmad_id\": 1},\n", " length=1.0,\n", " steps=100,\n", " map_steps=100,\n", " ),\n", " WriteFull(name=\"final_particles\", file_id=101),\n", " ],\n", ")\n", "input.set_twiss_z(0.1e-3 / c, 1)\n", "input" ] }, { "cell_type": "code", "execution_count": 4, "id": "cea956bf-84b6-4dc3-bc3a-a60d4caece09", "metadata": { "execution": { "iopub.execute_input": "2025-05-07T01:46:26.955512Z", "iopub.status.busy": "2025-05-07T01:46:26.955251Z", "iopub.status.idle": "2025-05-07T01:46:31.887396Z", "shell.execute_reply": "2025-05-07T01:46:31.886961Z" } }, "outputs": [ { "data": { "text/html": [ "" ], "text/plain": [] }, "metadata": {}, "output_type": "display_data" }, { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "e26cfea71e7c4ecd8c2b883284da7aed", "version_major": 2, "version_minor": 0 }, "text/plain": [ " 0%| | 0/3 [00:00" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "P1.plot(\"delta_t\", \"energy\")" ] }, { "cell_type": "markdown", "id": "aea04b63-3936-49ff-baf1-cc5c4a2c9124", "metadata": {}, "source": [ "# Try again with particles" ] }, { "cell_type": "code", "execution_count": 7, "id": "bdb4d182-b375-433d-9714-d323b0d6bf1b", "metadata": { "execution": { "iopub.execute_input": "2025-05-07T01:46:32.535591Z", "iopub.status.busy": "2025-05-07T01:46:32.535436Z", "iopub.status.idle": "2025-05-07T01:46:38.827037Z", "shell.execute_reply": "2025-05-07T01:46:38.826484Z" } }, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "46b91e408ac34ac6b9e38a0994cf0ddb", "version_major": 2, "version_minor": 0 }, "text/plain": [ " 0%| | 0/3 [00:00" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "P4.plot(\"delta_t\", \"energy\")" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.13.3" }, "widgets": { "application/vnd.jupyter.widget-state+json": { "state": { "0b3a524d7f6f4dab9059f63ac19ba050": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "ProgressStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "ProgressStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "StyleView", "bar_color": null, "description_width": "" } }, "0bae4dded23945d782e768ccd8f48d6d": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "15edea98f3044b5bba8c1a9c26c03450": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "357cd5e69d3a41219997f55eca8e150b": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", "_view_name": "HTMLView", "description": "", "description_allow_html": false, "layout": "IPY_MODEL_8c608c2d75f641a8937630dc6f1da226", "placeholder": "​", "style": "IPY_MODEL_58d2988fcbf84f00b138bd68b83cbe01", "tabbable": null, "tooltip": null, "value": "100%" } }, "463b031677e54e98aa80c80261aea299": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "FloatProgressModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "FloatProgressModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", "_view_name": "ProgressView", "bar_style": "", "description": "", "description_allow_html": false, "layout": "IPY_MODEL_5262bca1f9be4a79bae61d5f1c8bc9ec", "max": 3.0, "min": 0.0, "orientation": "horizontal", "style": "IPY_MODEL_0b3a524d7f6f4dab9059f63ac19ba050", "tabbable": null, "tooltip": null, "value": 3.0 } }, "46b91e408ac34ac6b9e38a0994cf0ddb": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HBoxModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", "_view_name": "HBoxView", "box_style": "", "children": [ "IPY_MODEL_a6383bbd609241249f7876b49f93f447", "IPY_MODEL_463b031677e54e98aa80c80261aea299", "IPY_MODEL_9284bddcf7954ca59d08c061fbfcb963" ], "layout": "IPY_MODEL_5be35ddbcf264aed82da8de601352597", "tabbable": null, "tooltip": null } }, "4b60be878d7444ac8fd7b4e286365087": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HTMLStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HTMLStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "StyleView", "background": null, "description_width": "", "font_size": null, "text_color": null } }, "5262bca1f9be4a79bae61d5f1c8bc9ec": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "58d2988fcbf84f00b138bd68b83cbe01": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HTMLStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HTMLStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "StyleView", "background": null, "description_width": "", "font_size": null, "text_color": null } }, "5be35ddbcf264aed82da8de601352597": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": "hidden", "width": null } }, "7040cd2bf4e1438ea95c27d914460514": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HTMLStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HTMLStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "StyleView", "background": null, "description_width": "", "font_size": null, "text_color": null } }, "7eb634f401324fa397e64ae2152b5718": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": "hidden", "width": null } }, "8042e7e01d174aff9312fd61dfa6de88": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "8c608c2d75f641a8937630dc6f1da226": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "9284bddcf7954ca59d08c061fbfcb963": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", "_view_name": "HTMLView", "description": "", "description_allow_html": false, "layout": "IPY_MODEL_ba6e49e2317b4349b3dd3ee3a770d16a", "placeholder": "​", "style": "IPY_MODEL_4b60be878d7444ac8fd7b4e286365087", "tabbable": null, "tooltip": null, "value": " 3/3 [00:04<00:00,  1.52s/it, Name=final_particles, Z=1]" } }, "a43fcb315c6a42969eb83df758895723": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", "_view_name": "HTMLView", "description": "", "description_allow_html": false, "layout": "IPY_MODEL_15edea98f3044b5bba8c1a9c26c03450", "placeholder": "​", "style": "IPY_MODEL_7040cd2bf4e1438ea95c27d914460514", "tabbable": null, "tooltip": null, "value": " 3/3 [00:04<00:00,  1.36s/it, Name=final_particles, Z=1]" } }, "a6383bbd609241249f7876b49f93f447": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", "_view_name": "HTMLView", "description": "", "description_allow_html": false, "layout": "IPY_MODEL_0bae4dded23945d782e768ccd8f48d6d", "placeholder": "​", "style": "IPY_MODEL_afd71b285ae64e16bd84ec2204c962a4", "tabbable": null, "tooltip": null, "value": "100%" } }, "ae5484093441437e907e78fa9ddb010d": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "ProgressStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "ProgressStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "StyleView", "bar_color": null, "description_width": "" } }, "afd71b285ae64e16bd84ec2204c962a4": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HTMLStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HTMLStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "StyleView", "background": null, "description_width": "", "font_size": null, "text_color": null } }, "ba6e49e2317b4349b3dd3ee3a770d16a": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "e26cfea71e7c4ecd8c2b883284da7aed": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HBoxModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", "_view_name": "HBoxView", "box_style": "", "children": [ "IPY_MODEL_357cd5e69d3a41219997f55eca8e150b", "IPY_MODEL_e68402a728254af58d825bcc94398619", "IPY_MODEL_a43fcb315c6a42969eb83df758895723" ], "layout": "IPY_MODEL_7eb634f401324fa397e64ae2152b5718", "tabbable": null, "tooltip": null } }, "e68402a728254af58d825bcc94398619": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "FloatProgressModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "FloatProgressModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", "_view_name": "ProgressView", "bar_style": "", "description": "", "description_allow_html": false, "layout": "IPY_MODEL_8042e7e01d174aff9312fd61dfa6de88", "max": 3.0, "min": 0.0, "orientation": "horizontal", "style": "IPY_MODEL_ae5484093441437e907e78fa9ddb010d", "tabbable": null, "tooltip": null, "value": 3.0 } } }, "version_major": 2, "version_minor": 0 } } }, "nbformat": 4, "nbformat_minor": 5 }