Skip to content

Commit

Permalink
Rerun all Jupyter notebooks with latest outputC updates
Browse files Browse the repository at this point in the history
  • Loading branch information
zachetienne committed Mar 29, 2020
1 parent fc2e5a8 commit 9e268ef
Show file tree
Hide file tree
Showing 70 changed files with 631 additions and 774 deletions.
2 changes: 1 addition & 1 deletion NRPyPlus_Tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion Tutorial-ADMBSSN_tofrom_4metric.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion Tutorial-ADM_Initial_Data-Brill-Lindquist.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion Tutorial-ADM_Initial_Data-ShiftedKerrSchild.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion Tutorial-ADM_Initial_Data-StaticTrumpet.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion Tutorial-ADM_Initial_Data-TOV.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion Tutorial-ADM_Initial_Data-UIUC_BlackHole.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion Tutorial-ADM_in_terms_of_BSSN.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion Tutorial-BSSN_constraints.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion Tutorial-BSSN_formulation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion Tutorial-BSSN_in_terms_of_ADM.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion Tutorial-BSSN_quantities.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1356,7 +1356,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion Tutorial-BSSN_stress_energy_source_terms.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion Tutorial-BSSN_time_evolution-BSSN_RHSs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion Tutorial-BSSN_time_evolution-BSSN_gauge_RHSs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
142 changes: 71 additions & 71 deletions Tutorial-BaikalETK.ipynb

Large diffs are not rendered by default.

40 changes: 29 additions & 11 deletions Tutorial-Coutput__Parameter_Interface.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@
" * \"x = b**2*sin(2*a) + c/sin(2*a)\"\n",
" */\n",
"{\n",
" const double tmp0 = sin(2*a);\n",
" x = ((b)*(b))*tmp0 + c/tmp0;\n",
" const double tmp_0 = sin(2*a);\n",
" x = ((b)*(b))*tmp_0 + c/tmp_0;\n",
"}\n",
"\n"
]
Expand Down Expand Up @@ -269,8 +269,8 @@
" * Original SymPy expression:\n",
" * \"*x = b**2*sin(2*a) + c/sin(2*a)\"\n",
" */\n",
" const double tmp0 = sin(2*a);\n",
" *x = ((b)*(b))*tmp0 + c/tmp0;\n",
" const double tmp_0 = sin(2*a);\n",
" *x = ((b)*(b))*tmp_0 + c/tmp_0;\n",
"}\n",
"\n"
]
Expand Down Expand Up @@ -435,11 +435,17 @@
" * \"x = b**2*sin(2*a) + c/sin(2*a)\"\n",
" */\n",
"{\n",
" const double tmp_Integer_2 = 2.000000000000000000000000000000000;\n",
" const double tmp_Integer_1 = 1.0;\n",
" const REAL_SIMD_ARRAY _Integer_1 = ConstSIMD(tmp_Integer_1);\n",
"\n",
" const double tmp_Integer_2 = 2.0;\n",
" const REAL_SIMD_ARRAY _Integer_2 = ConstSIMD(tmp_Integer_2);\n",
"\n",
" const REAL_SIMD_ARRAY tmp0 = SinSIMD(MulSIMD(_Integer_2, a));\n",
" x = FusedMulAddSIMD(tmp0, MulSIMD(b, b), DivSIMD(c, tmp0));\n",
" const double tmp_NegativeOne_ = -1.0;\n",
" const REAL_SIMD_ARRAY _NegativeOne_ = ConstSIMD(tmp_NegativeOne_);\n",
"\n",
" const REAL_SIMD_ARRAY tmp_0 = SinSIMD(MulSIMD(_Integer_2, a));\n",
" x = FusedMulAddSIMD(tmp_0, MulSIMD(b, b), DivSIMD(c, tmp_0));\n",
"}\n",
"\n"
]
Expand Down Expand Up @@ -486,10 +492,16 @@
" * \"x = sqrt(a)*c + b**2 + a**(-3)\"\n",
" */\n",
"{\n",
" const double tmp_Integer_1 = 1.000000000000000000000000000000000;\n",
" const double tmp_Integer_1 = 1.0;\n",
" const REAL_SIMD_ARRAY _Integer_1 = ConstSIMD(tmp_Integer_1);\n",
"\n",
" x = AddSIMD(DivSIMD(_Integer_1, MulSIMD(MulSIMD(a, a), a)), FusedMulAddSIMD(b, b, MulSIMD(c, SqrtSIMD(a))));\n",
" const double tmp_NegativeOne_ = -1.0;\n",
" const REAL_SIMD_ARRAY _NegativeOne_ = ConstSIMD(tmp_NegativeOne_);\n",
"\n",
" const double tmp_Rational_1_2 = 1.0/2.0;\n",
" const REAL_SIMD_ARRAY _Rational_1_2 = ConstSIMD(tmp_Rational_1_2);\n",
"\n",
" x = FusedMulAddSIMD(b, b, FusedMulAddSIMD(c, SqrtSIMD(a), DivSIMD(_Integer_1, MulSIMD(MulSIMD(a, a), a))));\n",
"}\n",
"\n"
]
Expand Down Expand Up @@ -528,9 +540,15 @@
" * \"x = sqrt(a)*c + b**2 + a**(-3)\"\n",
" */\n",
"{\n",
" const double tmp_Integer_1 = 1.000000000000000000000000000000000;\n",
" const double tmp_Integer_1 = 1.0;\n",
" const REAL_SIMD_ARRAY _Integer_1 = ConstSIMD(tmp_Integer_1);\n",
"\n",
" const double tmp_NegativeOne_ = -1.0;\n",
" const REAL_SIMD_ARRAY _NegativeOne_ = ConstSIMD(tmp_NegativeOne_);\n",
"\n",
" const double tmp_Rational_1_2 = 1.0/2.0;\n",
" const REAL_SIMD_ARRAY _Rational_1_2 = ConstSIMD(tmp_Rational_1_2);\n",
"\n",
" x = FusedMulAddSIMD(b, b, FusedMulAddSIMD(c, SqrtSIMD(a), DivSIMD(_Integer_1, MulSIMD(MulSIMD(a, a), a))));\n",
"}\n",
"\n"
Expand Down Expand Up @@ -602,7 +620,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
12 changes: 6 additions & 6 deletions Tutorial-ETK_thorn-FishboneMoncriefID.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Overwriting FishboneMoncriefID/src/InitialData.c\n"
"Writing FishboneMoncriefID/src/InitialData.c\n"
]
}
],
Expand Down Expand Up @@ -361,7 +361,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Overwriting FishboneMoncriefID/interface.ccl\n"
"Writing FishboneMoncriefID/interface.ccl\n"
]
}
],
Expand All @@ -387,7 +387,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Overwriting FishboneMoncriefID/param.ccl\n"
"Writing FishboneMoncriefID/param.ccl\n"
]
}
],
Expand Down Expand Up @@ -505,7 +505,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Overwriting FishboneMoncriefID/schedule.ccl\n"
"Writing FishboneMoncriefID/schedule.ccl\n"
]
}
],
Expand Down Expand Up @@ -568,7 +568,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Overwriting FishboneMoncriefID/src/make.code.defn\n"
"Writing FishboneMoncriefID/src/make.code.defn\n"
]
}
],
Expand Down Expand Up @@ -636,7 +636,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion Tutorial-ETK_thorn-IDMaxwellNRPy.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion Tutorial-ETK_thorn-IDScalarWaveNRPy.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion Tutorial-ETK_thorn-Interpolation_to_Spherical_Grids.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1612,7 +1612,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1594,7 +1594,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion Tutorial-ETK_thorn-MaxwellEvol.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
4 changes: 2 additions & 2 deletions Tutorial-ETK_thorn-NRPyPlusTOVID.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"* R_iso = 8.100079558158075e-01 , \n",
"* M/R_Schw = 1.468770268913230e-01 \n",
"\n",
"Single Polytrope TOV solution generated in: 0.08954143524169922 s\n",
"Single Polytrope TOV solution generated in: 0.09036707878112793 s\n",
"Initial data file: outputTOVpolytrope.txt\n"
]
}
Expand Down Expand Up @@ -1021,7 +1021,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion Tutorial-ETK_thorn-WaveToyNRPy.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion Tutorial-ETK_thorn-u0_smallb_Poynting.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion Tutorial-Finite_Difference_Derivatives-FDtable_soln.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit 9e268ef

Please sign in to comment.