Skip to content

Commit a16b32d

Browse files
committed
update documentation 5.2.1
1 parent 92520ad commit a16b32d

File tree

1 file changed

+10
-1
lines changed
  • docs/source/files/assignments

1 file changed

+10
-1
lines changed

docs/source/files/assignments/05.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,20 @@ Task 5.2 NetCDF Input
201201
Task 5.2.1 - ArtificialTsunami2d
202202
-----------------------------------------
203203

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+
204213
**(File: ArtificialTsunami2d.cpp)**
205214

206215
In order to accomplish the computational domain we substracted 500 of either x and y in the computeD function, which looks like:
207216

208-
**compueD**
217+
**computeD**
209218

210219
.. code:: cpp
211220

0 commit comments

Comments
 (0)