Skip to content

Commit

Permalink
Lite clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanjmeade committed Jun 25, 2024
1 parent 4809c7e commit a7e503e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions notebooks/celeri_western_north_america_qp.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,6 @@
"lower_bound[index.start_tde_col[0] + 1 : index.end_tde_col[0] : 2] = 0\n",
"upper_bound[index.start_tde_col[0] + 1 : index.end_tde_col[0] : 2] = 30\n",
"\n",
"\n",
"lower_bound_tde_only = lower_bound[3 * n_blocks : :]\n",
"upper_bound_tde_only = upper_bound[3 * n_blocks : :]"
]
Expand Down Expand Up @@ -711,9 +710,6 @@
}
],
"source": [
"# meshes[0].n_eigen = 100\n",
"\n",
"\n",
"def get_eigenvalues_and_eigenvectors(n_eigenvalues, x, y, z):\n",
" n_tde = x.size\n",
"\n",
Expand Down Expand Up @@ -745,8 +741,6 @@
"\n",
"\n",
"# Calculate eigenvales and eigenvectors for triangle subset\n",
"# n_eigenvalues = meshes[0].n_tde\n",
"# n_eigenvalues = 20\n",
"eigenvalues, eigenvectors = get_eigenvalues_and_eigenvectors(\n",
" meshes[0].n_eigen,\n",
" meshes[0].x_centroid,\n",
Expand Down Expand Up @@ -1245,7 +1239,6 @@
],
"source": [
"# Unbounded\n",
"\n",
"K = np.zeros((eigenvectors_two_component.shape[0], ret_state_vector.shape[0]))\n",
"K[:, 3 * n_blocks :] = eigenvectors_two_component\n",
"\n",
Expand Down

0 comments on commit a7e503e

Please sign in to comment.