diff --git a/docs/examples/fields/field_analysis.ipynb b/docs/examples/fields/field_analysis.ipynb index 660618f..2a80b63 100644 --- a/docs/examples/fields/field_analysis.ipynb +++ b/docs/examples/fields/field_analysis.ipynb @@ -85,9 +85,9 @@ "metadata": {}, "outputs": [], "source": [ - "FM = FieldMesh(\"../data/rfgun.h5\")\n", + "FM2D = FieldMesh(\"../data/rfgun.h5\")\n", "\n", - "plot_curl_equations(FM, ir=10)" + "plot_curl_equations(FM2D, ir=10)" ] }, { @@ -105,9 +105,9 @@ "metadata": {}, "outputs": [], "source": [ - "FM = FieldMesh(\"../data/rfgun_rectangular.h5\")\n", + "FM3D2 = FieldMesh(\"../data/rfgun_rectangular.h5\")\n", "\n", - "plot_curl_equations(FM, ix=2, iy=2)" + "plot_curl_equations(FM3D2, ix=2, iy=2)" ] }, { @@ -135,9 +135,9 @@ "metadata": {}, "outputs": [], "source": [ - "FM = FieldMesh(\"../data/solenoid.h5\")\n", + "FMS = FieldMesh(\"../data/solenoid.h5\")\n", "\n", - "check_static_div_equation(FM, plot=True, rtol=1)" + "check_static_div_equation(FMS, plot=True, rtol=1)" ] }, { @@ -163,7 +163,7 @@ "theta = np.pi / 2 # Opening angle [rad]\n", "current = 1 # Current [Amp]\n", "\n", - "FM = make_dipole_corrector_fieldmesh(\n", + "FMC = make_dipole_corrector_fieldmesh(\n", " current=current,\n", " xmin=-0.9 * R,\n", " xmax=0.9 * R,\n", @@ -180,17 +180,9 @@ " b=L,\n", " plot_wire=True,\n", ")\n", - "FM.plot_onaxis([\"Bx\", \"By\", \"Bz\"])" + "FMC.plot_onaxis([\"Bx\", \"By\", \"Bz\"])" ] }, - { - "cell_type": "code", - "execution_count": null, - "id": "4931b71e-b175-4370-bf75-065ab6ae0989", - "metadata": {}, - "outputs": [], - "source": [] - }, { "cell_type": "code", "execution_count": null, @@ -198,7 +190,7 @@ "metadata": {}, "outputs": [], "source": [ - "check_static_div_equation(FM, plot=True, rtol=0.1, ix=211, iy=211)" + "check_static_div_equation(FMC, plot=True, rtol=0.09, ix=211, iy=211)" ] }, {