~finished task 1, on to integration
This commit is contained in:
@@ -223,7 +223,6 @@
|
||||
"source": [
|
||||
"def acceleration(phi, grid, center, end):\n",
|
||||
" # line between center and end\n",
|
||||
" # todo center and end are wrong\n",
|
||||
" direction = (end - center / np.linalg.norm(end - center)).astype(int)\n",
|
||||
" print(direction)\n",
|
||||
" points = [center + i * direction for i in range(1, phi.shape[0]//2)]\n",
|
||||
@@ -253,7 +252,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.12.7"
|
||||
"version": "3.13.1"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
||||
Reference in New Issue
Block a user