Skip to content

Commit

Permalink
workaround for np.can_cast bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaurini committed Oct 6, 2024
1 parent 9620693 commit ee5d97c
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 63 deletions.
25 changes: 13 additions & 12 deletions notebooks/linear-elasticity/00-Mesh.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
"[CMMacBookPro-2.local:52840] shmem: mmap: an error occurred while determining whether or not /var/folders/6n/jdn3jmg57dl7j2yrrs59__000000gn/T//ompi.CMMacBookPro-2.501/jf.0/1121124352/sm_segment.CMMacBookPro-2.501.42d30000.0 could be created.\n"
"[CMMacBookPro-2.local:52473] shmem: mmap: an error occurred while determining whether or not /var/folders/6n/jdn3jmg57dl7j2yrrs59__000000gn/T//ompi.CMMacBookPro-2.501/jf.0/2652438528/sm_segment.CMMacBookPro-2.501.9e190000.0 could be created.\n"
]
}
],
Expand Down Expand Up @@ -210,7 +210,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 9,
"id": "fd33d238",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -258,7 +258,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 10,
"id": "e42bf941",
"metadata": {},
"outputs": [
Expand All @@ -272,19 +272,12 @@
"Info : [ 40%] Meshing curve 3 (Line)\n",
"Info : [ 60%] Meshing curve 4 (Line)\n",
"Info : [ 80%] Meshing curve 5 (Line)\n",
"Info : Done meshing 1D (Wall 0.00197787s, CPU 0.002073s)\n",
"Info : Done meshing 1D (Wall 0.00584054s, CPU 0.0053s)\n",
"Info : Meshing 2D...\n",
"Info : Meshing surface 1 (Plane, Frontal-Delaunay)\n",
"Info : Done meshing 2D (Wall 0.00635462s, CPU 0.006288s)\n",
"Info : Done meshing 2D (Wall 0.00785279s, CPU 0.00777s)\n",
"Info : 413 nodes 829 elements\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"Warning : Gmsh has aleady been initialized\n"
]
}
],
"source": [
Expand All @@ -303,6 +296,14 @@
" verbosity=5,\n",
")"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "b430bba9-d067-4df4-9f2e-a9ac365ad82d",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
89 changes: 38 additions & 51 deletions notebooks/linear-elasticity/01-LinearElasticity.ipynb

Large diffs are not rendered by default.

0 comments on commit ee5d97c

Please sign in to comment.