File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
docs/source/files/assignments Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -201,11 +201,20 @@ Task 5.2 NetCDF Input
201
201
Task 5.2.1 - ArtificialTsunami2d
202
202
-----------------------------------------
203
203
204
+ Following equations were given:
205
+
206
+ .. math ::
207
+ \begin {split}\begin {aligned}
208
+ \text {d}(x, y) & = & 5 \cdot f(x)g(y) \\
209
+ \text {f}(x) & = & \sin \left (\left (\frac {x}{500 }+1 \right ) \cdot \pi \right ) \\
210
+ \text {g}(y) & = & -\left (\frac {y}{500 }\right )^2 + 1
211
+ \end {aligned}\end {split}
212
+
204
213
**(File: ArtificialTsunami2d.cpp) **
205
214
206
215
In order to accomplish the computational domain we substracted 500 of either x and y in the computeD function, which looks like:
207
216
208
- **compueD **
217
+ **computeD **
209
218
210
219
.. code :: cpp
211
220
You can’t perform that action at this time.
0 commit comments