-
Notifications
You must be signed in to change notification settings - Fork 29
/
lecture5_ex1.jl
29 lines (21 loc) · 1.35 KB
/
lecture5_ex1.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
md"""
## Exercise 1 — **Performance implementation**
"""
#md # 👉 See [Logistics](/logistics/#submission) for submission details.
md"""
The goal of this exercise is to:
- Finalise the script discussed in class
"""
md"""
In this first exercise, you will terminate the performance oriented implementation of the 2D fluid pressure (diffusion) solver script from lecture 5.
"""
#md # 👉 If needed, download the [`l5_Pf_diffusion_2D.jl`](https://github.com/eth-vaw-glaciology/course-101-0250-00/blob/main/scripts/) to get you started.
md"""
### Task 1
Create a new folder in your GitHub repository for this week's (lecture 5) exercises. In there, create a new subfolder `Pf_diffusion_2D` where you will add following script:
- `Pf_diffusion_2D_Teff.jl`: `T_eff` implementation
- `Pf_diffusion_2D_perf.jl`: scalar precomputations and removing disabling `ncheck`
- `Pf_diffusion_2D_loop_fun.jl`: physics computations in `compute!()` function, derivatives done with macros, and multi-threading
"""
#nb # > 💡 hint: Refer to [this section](#timer_and_performance) in lecture 5 to capture the starting point describing which features are specific to each version of the diffusion 2D codes.
#md # \note{Refer to [this section](#timer_and_performance) in lecture 5 to capture the starting point describing which features are specific to each version of the diffusion 2D codes.}