From 724963f745b0143094d013cc5a4f62cf157c55d8 Mon Sep 17 00:00:00 2001 From: Robert Lanzafame Date: Tue, 12 Nov 2024 06:20:37 +0100 Subject: [PATCH 1/7] toc: remove q2 weeks 4 6 7 8 --- book/_toc.yml | 268 +++++++++++++++++++++++++------------------------- 1 file changed, 134 insertions(+), 134 deletions(-) diff --git a/book/_toc.yml b/book/_toc.yml index 6e5436b..b38d20e 100644 --- a/book/_toc.yml +++ b/book/_toc.yml @@ -171,41 +171,41 @@ parts: title: Supplementary Videos # END REMOVE-FROM-RELEASE - # START REMOVE-FROM-RELEASE - - file: time_series/intro.md - title: Time Series Analysis - sections: - - file: time_series/components - title: "Time Series components" - sections: - - file: time_series/exercise1.ipynb - - file: time_series/types - title: "Types of Time Series" - - file: time_series/modelling - title: "Time Series modelling and estimation" - sections: - - file: time_series/exercise3.ipynb - - file: time_series/stationarity - title: "Stationarity" - sections: - - file: time_series/exercise2.ipynb - - file: time_series/acf - title: "Autocovariance function (ACF)" - sections: - - file: time_series/exercise4.ipynb - - file: time_series/arma - title: "AutoRegressive Moving Average (ARMA) process" - sections: - - file: time_series/exercise5.ipynb - - file: time_series/forecasting - title: "Time Series forecasting" - - file: time_series/optional - title: "Supplementary material" - # START REMOVE-FROM-PUBLISH - - file: time_series/notebook - title: Notebook - # END REMOVE-FROM-PUBLISH - # END REMOVE-FROM-RELEASE + # # START REMOVE-FROM-RELEASE + # - file: time_series/intro.md + # title: Time Series Analysis + # sections: + # - file: time_series/components + # title: "Time Series components" + # sections: + # - file: time_series/exercise1.ipynb + # - file: time_series/types + # title: "Types of Time Series" + # - file: time_series/modelling + # title: "Time Series modelling and estimation" + # sections: + # - file: time_series/exercise3.ipynb + # - file: time_series/stationarity + # title: "Stationarity" + # sections: + # - file: time_series/exercise2.ipynb + # - file: time_series/acf + # title: "Autocovariance function (ACF)" + # sections: + # - file: time_series/exercise4.ipynb + # - file: time_series/arma + # title: "AutoRegressive Moving Average (ARMA) process" + # sections: + # - file: time_series/exercise5.ipynb + # - file: time_series/forecasting + # title: "Time Series forecasting" + # - file: time_series/optional + # title: "Supplementary material" + # # START REMOVE-FROM-PUBLISH + # - file: time_series/notebook + # title: Notebook + # # END REMOVE-FROM-PUBLISH + # # END REMOVE-FROM-RELEASE # START REMOVE-FROM-RELEASE - file: optimization/overview @@ -241,107 +241,107 @@ parts: - file: optimization/performance_generic_LP.ipynb # END REMOVE-FROM-RELEASE - # START REMOVE-FROM-RELEASE - - file: ml/overview - title: Machine Learning - sections: - - file: ml/knn_interactive - - file: ml/decision_theory_interactive - - file: ml/linear_models_interactive - - file: ml/ridge_sgd_interactive - - file: ml/nn_interactive - - file: ml/review - # END REMOVE-FROM-RELEASE + # # START REMOVE-FROM-RELEASE + # - file: ml/overview + # title: Machine Learning + # sections: + # - file: ml/knn_interactive + # - file: ml/decision_theory_interactive + # - file: ml/linear_models_interactive + # - file: ml/ridge_sgd_interactive + # - file: ml/nn_interactive + # - file: ml/review + # # END REMOVE-FROM-RELEASE - # START REMOVE-FROM-RELEASE - - file: eva/intro.md - title: Extreme Value Analysis - sections: - - file: eva/extreme.md - title: Concept of Extreme - sections: - - file: eva/RT.md - title: Return period - - file: eva/sampling.md - title: Sampling extremes - - file: eva/BM_GEV.md - title: Block Maxima & GEV - sections: - - file: eva/BM.md - title: Block Maxima - - file: eva/Asymptotic.md - title: Asymptotic theorem - - file: eva/GEV.md - title: GEV distribution - - file: eva/RP_Binomial.md - title: RT & Design Life - - file: eva/POT_GPD.md - title: POT & GPD - sections: - - file: eva/POT.md - title: Peak Over Threshold - - file: eva/Poisson.md - - file: eva/Threshold.md - title: Parameters selection - - file: eva/GPD.md - title: Intro to GPD - - file: eva/GPD2.md - title: Practicalities for GPD - - file: eva/RP_Poisson.md - title: Revisiting RT - - file: eva/extra.md - title: Supplementary Material - sections: - - file: eva/Bernoulli.md - - file: eva/videos.md - title: EVA videos - # END REMOVE-FROM-RELEASE + # # START REMOVE-FROM-RELEASE + # - file: eva/intro.md + # title: Extreme Value Analysis + # sections: + # - file: eva/extreme.md + # title: Concept of Extreme + # sections: + # - file: eva/RT.md + # title: Return period + # - file: eva/sampling.md + # title: Sampling extremes + # - file: eva/BM_GEV.md + # title: Block Maxima & GEV + # sections: + # - file: eva/BM.md + # title: Block Maxima + # - file: eva/Asymptotic.md + # title: Asymptotic theorem + # - file: eva/GEV.md + # title: GEV distribution + # - file: eva/RP_Binomial.md + # title: RT & Design Life + # - file: eva/POT_GPD.md + # title: POT & GPD + # sections: + # - file: eva/POT.md + # title: Peak Over Threshold + # - file: eva/Poisson.md + # - file: eva/Threshold.md + # title: Parameters selection + # - file: eva/GPD.md + # title: Intro to GPD + # - file: eva/GPD2.md + # title: Practicalities for GPD + # - file: eva/RP_Poisson.md + # title: Revisiting RT + # - file: eva/extra.md + # title: Supplementary Material + # sections: + # - file: eva/Bernoulli.md + # - file: eva/videos.md + # title: EVA videos + # # END REMOVE-FROM-RELEASE - # START REMOVE-FROM-RELEASE - - file: pd/intro.md - title: Risk and Reliability - # Already in Q1: - # - file: pd/prob-design/overview.md - # sections: - # - file: pd/prob-design/01-one-random-variable.md - # - file: pd/prob-design/02-two-random-variables.md - # - file: pd/prob-design/example-river-system.md - sections: - - file: pd/risk-analysis/overview.md - sections: - - file: pd/risk-analysis/definition.md - - file: pd/risk-analysis/steps.md - - file: pd/risk-analysis/risk-curves.md - - file: pd/reliability-component/overview.md - sections: - - file: pd/reliability-component/contamination.ipynb - # - file: reliability-component/case-two-loads.md - # - file: reliability-component/case-r-s.md - - file: pd/reliability-system/overview.md - sections: - # - file: reliability-system/system-series.md - # - file: reliability-system/system-parallel.md - - file: pd/reliability-system/exercise-simple-city.md - - file: pd/risk-evaluation/overview.md - sections: - - file: pd/risk-evaluation/decision.md - - file: pd/risk-evaluation/cost-benefit.md - - file: pd/risk-evaluation/econ-optimization.md - - file: pd/risk-evaluation/example-dike-height.md - - file: pd/risk-evaluation/safety-standards.md - - file: pd/exercises/overview.md - sections: - - file: pd/exercises/exercise-fn-curve.md - - file: pd/exercises/exercise-paint.md - - file: pd/exercises/exercise-dam.md - - file: pd/exercises/exercise-sample-exam.md - - file: pd/videos.md - # - file: pd/notebooks/overview.md - # sections: - # - file: pd/notebooks/flood-risk/Exercise_Flood_Risk_Render.ipynb - # - file: pd/notebooks/contamination/Exercise_Contamination_Render.ipynb - # - file: pd/notebooks/traffic/Exercise_Traffic_Render.ipynb - # END REMOVE-FROM-RELEASE + # # START REMOVE-FROM-RELEASE + # - file: pd/intro.md + # title: Risk and Reliability + # # Already in Q1: + # # - file: pd/prob-design/overview.md + # # sections: + # # - file: pd/prob-design/01-one-random-variable.md + # # - file: pd/prob-design/02-two-random-variables.md + # # - file: pd/prob-design/example-river-system.md + # sections: + # - file: pd/risk-analysis/overview.md + # sections: + # - file: pd/risk-analysis/definition.md + # - file: pd/risk-analysis/steps.md + # - file: pd/risk-analysis/risk-curves.md + # - file: pd/reliability-component/overview.md + # sections: + # - file: pd/reliability-component/contamination.ipynb + # # - file: reliability-component/case-two-loads.md + # # - file: reliability-component/case-r-s.md + # - file: pd/reliability-system/overview.md + # sections: + # # - file: reliability-system/system-series.md + # # - file: reliability-system/system-parallel.md + # - file: pd/reliability-system/exercise-simple-city.md + # - file: pd/risk-evaluation/overview.md + # sections: + # - file: pd/risk-evaluation/decision.md + # - file: pd/risk-evaluation/cost-benefit.md + # - file: pd/risk-evaluation/econ-optimization.md + # - file: pd/risk-evaluation/example-dike-height.md + # - file: pd/risk-evaluation/safety-standards.md + # - file: pd/exercises/overview.md + # sections: + # - file: pd/exercises/exercise-fn-curve.md + # - file: pd/exercises/exercise-paint.md + # - file: pd/exercises/exercise-dam.md + # - file: pd/exercises/exercise-sample-exam.md + # - file: pd/videos.md + # # - file: pd/notebooks/overview.md + # # sections: + # # - file: pd/notebooks/flood-risk/Exercise_Flood_Risk_Render.ipynb + # # - file: pd/notebooks/contamination/Exercise_Contamination_Render.ipynb + # # - file: pd/notebooks/traffic/Exercise_Traffic_Render.ipynb + # # END REMOVE-FROM-RELEASE - caption: Programming From 812c7565733d1f6e0794c8c14507ad5eb879948c Mon Sep 17 00:00:00 2001 From: Jaime Arriaga Garcia Date: Tue, 12 Nov 2024 10:24:21 +0100 Subject: [PATCH 2/7] Error in upwind schemes --- book/fvm/advection_1.ipynb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/book/fvm/advection_1.ipynb b/book/fvm/advection_1.ipynb index 3642e38..bf06c02 100644 --- a/book/fvm/advection_1.ipynb +++ b/book/fvm/advection_1.ipynb @@ -206,17 +206,17 @@ "\n", "Indirectly, there is more relevance from the upstream direction by using $\\phi^{n-1}$ rather than $\\phi^{n}$. \n", "\n", - "The other and more easily appreciated is by applying an upwind/downwind scheme. This, if $c$ is positive we apply downwind scheme (remember backward difference $ \\frac{\\phi_i - \\phi_{i-1}}{\\Delta x}$) this means that the boundary terms will be:\n", + "The other and more easily appreciated is by applying an upwind scheme. This, if $c$ is positive:\n", "\n", "$$\n", "\\phi_{e} = \\phi_{i} \\qquad\n", - "\\phi_{w} = \\frac{\\phi_{i-1} + \\phi_i}{2} \\quad \n", + "\\phi_{w} = \\phi_{i-1}\\qquad \n", "$$\n", "\n", - "if $c$ is negative we apply upwind scheme (Forward difference $ \\frac{\\phi_{i+1} - \\phi_i}{\\Delta x}$) this means that the boundary terms will be:\n", + "if $c$ is negative :\n", "\n", "$$\n", - "\\phi_{e} = \\frac{\\phi_{i+1} + \\phi_i}{2} \\qquad\n", + "\\phi_{e} = \\phi_{i+1} \\qquad\n", "\\phi_{w} = \\phi{i} \\quad \n", "$$\n", ". \n", From 0d66d838cf25d13e7c6764b301a96c446625ff78 Mon Sep 17 00:00:00 2001 From: Frans van der Meer Date: Tue, 12 Nov 2024 11:13:53 +0100 Subject: [PATCH 3/7] Update toc --- book/_toc.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/book/_toc.yml b/book/_toc.yml index b38d20e..a5c9365 100644 --- a/book/_toc.yml +++ b/book/_toc.yml @@ -131,21 +131,13 @@ parts: title: Finite Element Method sections: - file: fem/strong.md - title: Strong form of the problem - file: fem/weak.md - title: Weak form - file: fem/discrete.ipynb - title: Discrete form - file: fem/matrix.ipynb - title: Finite element implementation - file: fem/shape.md - title: Elements and shape functions + - file: fem/numerical integration.md - file: fem/poisson2d.md - title: Poisson equation in 2D - file: fem/isoparametric_mapping.md - title: Isoparametric mapping - - file: fem/videos.md - title: Videos (summary material) # END REMOVE-FROM-RELEASE # START REMOVE-FROM-RELEASE @@ -444,4 +436,4 @@ parts: - caption: Miscellaneous numbered: false chapters: - - file: references \ No newline at end of file + - file: references From 76dbed2c3df94696df218718da3bf8dbeb276546 Mon Sep 17 00:00:00 2001 From: Jaime Arriaga Garcia Date: Tue, 12 Nov 2024 14:46:28 +0100 Subject: [PATCH 4/7] some corrections --- book/fvm/advection_1.ipynb | 46 ++++++++++++++++-------------- book/fvm/getting_started_new.ipynb | 9 +++++- 2 files changed, 32 insertions(+), 23 deletions(-) diff --git a/book/fvm/advection_1.ipynb b/book/fvm/advection_1.ipynb index bf06c02..a25eb62 100644 --- a/book/fvm/advection_1.ipynb +++ b/book/fvm/advection_1.ipynb @@ -106,7 +106,7 @@ "\n", "The integral equations may now be discretized over each finite volumes with the \"unknown\" at the center, $\\phi_i$, and with dimensions $\\Delta x$, $\\Delta y$ and $\\Delta z$. .\n", "\n", - "For the first term: velocity $\\phi$ is constant over the domain, the integral is applied over the finite volume $i$ and a forward Euler scheme is applied with time-step $\\Delta t$:\n", + "For the first term: velocity $c$ is constant over the domain, the integral is applied over the finite volume $i$ and a forward Euler scheme is applied with time-step $\\Delta t$:\n", "\n", "$$\n", "\\int_{V}\\frac{\\partial \\phi}{\\partial t}dV\n", @@ -147,10 +147,10 @@ "\n", "$$\n", "\\int_{S} c \\, \\phi \\cdot \\mathbf{n} \\, dS\n", - "= -c \\, \\phi_{w} \\, \\Delta y \\Delta z + \\phi_{e} \\, \\Delta y \\Delta z = c\\left(\\phi_{e}-\\phi_{w}\\right)\\Delta y \\Delta z\n", + "= -c \\, \\phi_{w} \\, \\Delta y \\Delta z + c \\phi_{e} \\, \\Delta y \\Delta z = c\\left(\\phi_{e}-\\phi_{w}\\right)\\Delta y \\Delta z\n", "$$\n", "\n", - "where $\\phi_e,w$ are evaluated at the midpoint of the east and west surfaces. As those values are not yet known at the surface (they are known at the volume centroid), an approximation is needed. A linear interpolation can be used, thus only two points per surface value are needed: \n", + "where $\\phi_{e,w}$ are evaluated at the midpoint of the east and west surfaces. As those values are not yet known at the surface (they are known at the volume centroid), an approximation is needed. A linear interpolation can be used, thus only two points per surface value are needed: \n", " \n", "$$\n", "\\phi_{e} = \\frac{\\phi_{i+1} + \\phi_i}{2} \\qquad\n", @@ -319,10 +319,12 @@ "\n", "The initialization of the problem is delicate as only after the second time step the algebraic equation is fully satisfied without additional requirements. \n", "\n", - "The coefficient matrix $A$ only has non-zero elements along the diagonal due to the regular geometry incorporated in the 1D discretization, called a _banded_ matrix. In the derivation of the system of equations, the boundary conditions of end volumes were not presented. Actually, the advection equation has only one boundary condition due to the first spatial derivative! It is defined at the boundary, from where $\\phi$ is being advected. The formulation of the coefficients in the matrix implies that the values of the $0^{\\textrm{th}}$ and $7\\textrm{th}$ volume ($\\phi_{0}$ and $\\phi_7$) were taken as 0, the latter is an artifice to vanish the quantity $\\phi$. Rigorously speaking, it should not be a boundary condition.\n", + "The coefficient matrix $A$ only has non-zero elements along the upper and lower diagonal due to the regular geometry incorporated in the 1D discretization. In the derivation of the system of equations, the boundary conditions of end volumes were not presented. Actually, the advection equation has only one boundary condition due to the first spatial derivative! It is defined at the boundary from where $\\phi$ is being advected. The formulation of the coefficients in the matrix implies that the values of the $0^{\\textrm{th}}$ and $7\\textrm{th}$ volume ($\\phi_{0}$ and $\\phi_7$) were taken as 0, the latter is an artifice to vanish the quantity $\\phi$. Rigorously speaking, it should not be a boundary condition.\n", "\n", "### Solution Techniques\n", "\n", + "This system can be solved without the need for building the matrix as each value of the next time step can be computed from known values of previous steps. So, it can be solved with a for loop as well! \n", + "\n", "Note that the matrix in the above example contains a lot of zeros: 10 out of 36 elements are non-zero (28%). This is called a _sparse_ matrix, and the proportion of non-zero entries grows with the size of the problem. For example, $N=1000$ finite volumes requires $2N-2$ non-zero entries (1998), which is only 0.1% of the matrix! Since matrix calculations are computationally expensive, we would never carry out the matrix calculations as represented here. Instead, various vectorization approaches are implemented in all numerical analysis software packages. Typically, a mapping of volumes and coordinates are stored in a vector format that retains the relationship between volumes and the interpolation points (e.g., neighbor volumes). Then calculations per volume are carried out using this vectorized information. This can be easily implemented in any programming language, for example, with a for loop over each volume. However, note that as geometry of the domain of interest and the discretization scheme changes (e.g., non-square volumes!) more advanced vectorization techniques are required." ] }, @@ -412,6 +414,11 @@ "\n" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [] + }, { "cell_type": "markdown", "metadata": {}, @@ -433,33 +440,28 @@ " \\phi_i^{n+1} = \\phi_i^n + \\Delta t D \\frac{\\phi_{i-1}^n - 2\\phi_i^n + \\phi_{i+1}^n}{\\Delta x^2}\n", " $$\n", "\n", - " Remember the stability criteria of Forward Euler $|1- \\Delta t \\alpha| <1$\n", + " This can be rewritten as \n", + " $$\n", + " \\phi_i^{n+1} = (1-2*\\Delta t D/\\Delta x^2)\\phi_i^n + \\Delta t D \\frac{\\phi_{i-1}^n + \\phi_{i+1}^n}{\\Delta x^2}\n", + " $$\n", "\n", - " For the diffusion equation we get the following:\n", + " Therefore, the amplification factor should be lower than 1:\n", "\n", " $$\n", - " -1 < 1 - \\frac{\\Delta t D}{\\Delta x^2} <0\n", + " -1 < 1-2D \\frac{\\Delta t}{\\Delta x^2} < 1\n", " $$\n", " \n", " $$\n", - " -2 < - \\frac{\\Delta t D}{\\Delta x^2} <0\n", - " $$\n", - "\n", - " $$\n", - " \\Delta t< \\frac{ 2 \\Delta x^2}{D}\n", + " D \\frac{\\Delta t}{\\Delta x^2} <= 1/2\n", " $$\n", - "\n", - "\n", - " - **Backward Euler (Implicit)**:\n", - "\n", - " $$\n", - " \\phi_i^{n+1} = \\phi_i^n + \\Delta t D \\frac{\\phi_{i-1}^{n+1} - 2\\phi_i^{n+1} + \\phi_{i+1}^{n+1}}{\\Delta x^2}\n", - " $$\n", - "\n", - "\n", - "Backward Euler is unconditionally stable.\n" + "\n" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [] + }, { "cell_type": "code", "execution_count": null, diff --git a/book/fvm/getting_started_new.ipynb b/book/fvm/getting_started_new.ipynb index 3e8c9ac..06dc7ce 100644 --- a/book/fvm/getting_started_new.ipynb +++ b/book/fvm/getting_started_new.ipynb @@ -192,9 +192,11 @@ "$$\n", "\\frac{\\partial \\phi}{\\partial t}\n", "+ \\mathbf{u} \\cdot \\nabla \\phi\n", - "= D \\nabla^2 \\phi +F_{\\phi}\n", + "= D^* \\nabla^2 \\phi +F^*_{\\phi}\n", "$$\n", "\n", + "where $D^*$ and $F^*$ are $D$ and $F$ divided by $\\rho$. From now on, the asterisk will be dropped. \n", + "\n", "From left to right, these three terms are explained as follows, relative to the quantity $\\phi$:\n", "1. Transient effect: rate of change of quantity $\\phi$\n", "2. Convection: transport due to velocity field $\\mathbf{u}$\n", @@ -216,6 +218,11 @@ "\n" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [] + }, { "cell_type": "markdown", "metadata": {}, From 7d8bf9ecc1634c15d2e2218939aede0dadfd92e7 Mon Sep 17 00:00:00 2001 From: Jaime Arriaga Garcia Date: Tue, 12 Nov 2024 15:08:30 +0100 Subject: [PATCH 5/7] last error --- book/fvm/advection_1.ipynb | 49 ++++++++------------------------------ 1 file changed, 10 insertions(+), 39 deletions(-) diff --git a/book/fvm/advection_1.ipynb b/book/fvm/advection_1.ipynb index a25eb62..7ea37fa 100644 --- a/book/fvm/advection_1.ipynb +++ b/book/fvm/advection_1.ipynb @@ -414,61 +414,32 @@ "\n" ] }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [] - }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Stability\n", "\n", - "**Method of Lines** converts partial differential equation (PDE) into a system of ordinary differential equations (ODEs). \n", + "This equation can be rewritten to isolate the amplification factor: \n", "\n", "$$\n", - "\\frac{\\phi_{i}^{n+1}-\\phi_{i}^{n}}{\\Delta t}\n", - "= D \\frac{ \\phi_{i-1}- 2\\phi_i + \\phi_{i+1} }{\\Delta x^2} \n", + "\\phi_i^{n+1} = (1-2*\\Delta t D/\\Delta x^2)\\phi_i^n + \\Delta t D \\frac{\\phi_{i-1}^n + \\phi_{i+1}^n}{\\Delta x^2}\n", "$$\n", "\n", - "**Time Integration**: We can now apply time-stepping methods like Forward Euler or Backward Euler to integrate these ODEs over time.\n", + "where the amplification factor is multiplying $\\phi_i^n$ and should be lower than 1 to ensure stability:\n", "\n", - " - **Forward Euler (Explicit)**:\n", - "\n", - " $$\n", - " \\phi_i^{n+1} = \\phi_i^n + \\Delta t D \\frac{\\phi_{i-1}^n - 2\\phi_i^n + \\phi_{i+1}^n}{\\Delta x^2}\n", - " $$\n", - "\n", - " This can be rewritten as \n", - " $$\n", - " \\phi_i^{n+1} = (1-2*\\Delta t D/\\Delta x^2)\\phi_i^n + \\Delta t D \\frac{\\phi_{i-1}^n + \\phi_{i+1}^n}{\\Delta x^2}\n", - " $$\n", + "$$\n", + "-1 < 1-2D \\frac{\\Delta t}{\\Delta x^2} < 1\n", + "$$\n", "\n", - " Therefore, the amplification factor should be lower than 1:\n", + "thus \n", "\n", - " $$\n", - " -1 < 1-2D \\frac{\\Delta t}{\\Delta x^2} < 1\n", - " $$\n", - " \n", - " $$\n", - " D \\frac{\\Delta t}{\\Delta x^2} <= 1/2\n", - " $$\n", + "$$\n", + "D \\frac{\\Delta t}{\\Delta x^2} <= 1/2\n", + "$$\n", "\n" ] }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] - }, { "cell_type": "markdown", "metadata": {}, From 1828e66313b1c58e96e66e6baa9d164245e4e221 Mon Sep 17 00:00:00 2001 From: Robert Lanzafame Date: Wed, 13 Nov 2024 08:52:38 +0100 Subject: [PATCH 6/7] typo --- book/fvm/advection_1.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/fvm/advection_1.ipynb b/book/fvm/advection_1.ipynb index 7ea37fa..f4f4d55 100644 --- a/book/fvm/advection_1.ipynb +++ b/book/fvm/advection_1.ipynb @@ -217,7 +217,7 @@ "\n", "$$\n", "\\phi_{e} = \\phi_{i+1} \\qquad\n", - "\\phi_{w} = \\phi{i} \\quad \n", + "\\phi_{w} = \\phi_{i} \\quad \n", "$$\n", ". \n", "\n", From d6e71b745ef75ad9aebfed6f3297ab74568fac45 Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Wed, 13 Nov 2024 09:14:55 +0100 Subject: [PATCH 7/7] Update _toc.yml --- book/_toc.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/book/_toc.yml b/book/_toc.yml index a5c9365..e50bc6c 100644 --- a/book/_toc.yml +++ b/book/_toc.yml @@ -103,13 +103,13 @@ parts: sections: - file: multivariate/design/one-random-variable - file: multivariate/design/two-random-variables - # START REMOVE-FROM-RELEASE + # START REMOVE-FROM-PUBLISH - file: multivariate/design/exercise sections: - file: multivariate/design/exercise_solutions - file: multivariate/test_pyvinecopulib - file: multivariate/test_bivariate - # END REMOVE-FROM-RELEASE + # END REMOVE-FROM-PUBLISH - caption: Q2 Topics numbered: 2 @@ -126,7 +126,7 @@ parts: - file: fvm/unstructured_meshes.ipynb title: Unstructured Meshes - # START REMOVE-FROM-RELEASE + # START REMOVE-FROM-PUBLISH - file: fem/intro.md title: Finite Element Method sections: @@ -138,9 +138,9 @@ parts: - file: fem/numerical integration.md - file: fem/poisson2d.md - file: fem/isoparametric_mapping.md - # END REMOVE-FROM-RELEASE + # END REMOVE-FROM-PUBLISH - # START REMOVE-FROM-RELEASE + # START REMOVE-FROM-PUBLISH - file: signal/intro.md title: Signal Processing sections: @@ -161,9 +161,9 @@ parts: title: Spectral Estimation - file: signal/videos title: Supplementary Videos - # END REMOVE-FROM-RELEASE + # END REMOVE-FROM-PUBLISH - # # START REMOVE-FROM-RELEASE + # # START REMOVE-FROM-PUBLISH # - file: time_series/intro.md # title: Time Series Analysis # sections: @@ -197,9 +197,9 @@ parts: # - file: time_series/notebook # title: Notebook # # END REMOVE-FROM-PUBLISH - # # END REMOVE-FROM-RELEASE + # # END REMOVE-FROM-PUBLISH - # START REMOVE-FROM-RELEASE + # START REMOVE-FROM-PUBLISH - file: optimization/overview title: Optimization sections: @@ -231,9 +231,9 @@ parts: sections: - file: optimization/airlines_performance.ipynb - file: optimization/performance_generic_LP.ipynb - # END REMOVE-FROM-RELEASE + # END REMOVE-FROM-PUBLISH - # # START REMOVE-FROM-RELEASE + # # START REMOVE-FROM-PUBLISH # - file: ml/overview # title: Machine Learning # sections: @@ -243,9 +243,9 @@ parts: # - file: ml/ridge_sgd_interactive # - file: ml/nn_interactive # - file: ml/review - # # END REMOVE-FROM-RELEASE + # # END REMOVE-FROM-PUBLISH - # # START REMOVE-FROM-RELEASE + # # START REMOVE-FROM-PUBLISH # - file: eva/intro.md # title: Extreme Value Analysis # sections: @@ -287,9 +287,9 @@ parts: # - file: eva/Bernoulli.md # - file: eva/videos.md # title: EVA videos - # # END REMOVE-FROM-RELEASE + # # END REMOVE-FROM-PUBLISH - # # START REMOVE-FROM-RELEASE + # # START REMOVE-FROM-PUBLISH # - file: pd/intro.md # title: Risk and Reliability # # Already in Q1: @@ -333,7 +333,7 @@ parts: # # - file: pd/notebooks/flood-risk/Exercise_Flood_Risk_Render.ipynb # # - file: pd/notebooks/contamination/Exercise_Contamination_Render.ipynb # # - file: pd/notebooks/traffic/Exercise_Traffic_Render.ipynb - # # END REMOVE-FROM-RELEASE + # # END REMOVE-FROM-PUBLISH - caption: Programming