Skip to content

Commit

Permalink
Minor.
Browse files Browse the repository at this point in the history
  • Loading branch information
nagelt committed Jan 6, 2025
1 parent 625e81c commit 42d34f2
Show file tree
Hide file tree
Showing 9 changed files with 5,921 additions and 5,913 deletions.
2,118 changes: 1,059 additions & 1,059 deletions 05a_CPT_Least_Squares.ipynb

Large diffs are not rendered by default.

75 changes: 37 additions & 38 deletions 06_soil_column_FEM.ipynb

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions 06a_discretization_and_integration.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 48,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -47,7 +47,7 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": 49,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -60,7 +60,7 @@
},
{
"cell_type": "code",
"execution_count": 18,
"execution_count": 50,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -93,7 +93,7 @@
},
{
"cell_type": "code",
"execution_count": 19,
"execution_count": 51,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -123,7 +123,7 @@
},
{
"cell_type": "code",
"execution_count": 20,
"execution_count": 52,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -134,7 +134,7 @@
},
{
"cell_type": "code",
"execution_count": 21,
"execution_count": 53,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -176,7 +176,7 @@
},
{
"cell_type": "code",
"execution_count": 22,
"execution_count": 54,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -232,7 +232,7 @@
},
{
"cell_type": "code",
"execution_count": 23,
"execution_count": 55,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -242,7 +242,7 @@
},
{
"cell_type": "code",
"execution_count": 24,
"execution_count": 56,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -280,7 +280,7 @@
},
{
"cell_type": "code",
"execution_count": 25,
"execution_count": 57,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -296,7 +296,7 @@
},
{
"cell_type": "code",
"execution_count": 26,
"execution_count": 58,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -328,7 +328,7 @@
},
{
"cell_type": "code",
"execution_count": 27,
"execution_count": 59,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -380,7 +380,7 @@
},
{
"cell_type": "code",
"execution_count": 28,
"execution_count": 60,
"metadata": {},
"outputs": [
{
Expand All @@ -405,7 +405,7 @@
},
{
"cell_type": "code",
"execution_count": 29,
"execution_count": 61,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -428,7 +428,7 @@
},
{
"cell_type": "code",
"execution_count": 30,
"execution_count": 62,
"metadata": {},
"outputs": [
{
Expand Down
59 changes: 34 additions & 25 deletions 06aa_soil_column_FDM.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 18,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -121,7 +121,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 19,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -140,7 +140,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 20,
"metadata": {},
"outputs": [
{
Expand All @@ -150,7 +150,7 @@
" 0.00019523, 0.00019523, 0.00019523, 0.00019523, 0.00019523])"
]
},
"execution_count": 3,
"execution_count": 20,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -196,7 +196,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 21,
"metadata": {},
"outputs": [
{
Expand All @@ -214,7 +214,7 @@
" [ 0., 0., 0., 0., 0., 0., 0., 0., 0., -2.]])"
]
},
"execution_count": 4,
"execution_count": 21,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -226,7 +226,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 22,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -236,7 +236,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 23,
"metadata": {},
"outputs": [
{
Expand All @@ -254,7 +254,7 @@
" [ 0., 0., 0., 0., 0., 0., 0., 0., 1., -2.]])"
]
},
"execution_count": 6,
"execution_count": 23,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -273,16 +273,25 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 24,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"10.999999999999996\n"
]
}
],
"source": [
"u = np.linalg.solve(A,RHS)"
"u = np.linalg.solve(A,RHS)\n",
"print(np.linalg.det(A))"
]
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 25,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -336,7 +345,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 26,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -382,7 +391,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 27,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -400,7 +409,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 28,
"metadata": {},
"outputs": [
{
Expand All @@ -418,7 +427,7 @@
" [ 0., 0., 0., 0., 0., 0., 0., 0., 1., -1.]])"
]
},
"execution_count": 11,
"execution_count": 28,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -429,7 +438,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": 29,
"metadata": {},
"outputs": [
{
Expand All @@ -439,7 +448,7 @@
" 0.00019523, 0.00019523, 0.00019523, 0.00019523, 0. ])"
]
},
"execution_count": 12,
"execution_count": 29,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -457,7 +466,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 30,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -489,7 +498,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 31,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -525,7 +534,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": 32,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -536,13 +545,13 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 33,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "3667e9dd915d4f8ab7a8a50a3430d24e",
"model_id": "c535ec4fa69848dba2202d4890fe93d8",
"version_major": 2,
"version_minor": 0
},
Expand Down Expand Up @@ -584,7 +593,7 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": 34,
"metadata": {},
"outputs": [
{
Expand Down
Loading

0 comments on commit 42d34f2

Please sign in to comment.