Tutorial3 and 1 fix (#67)

This commit is contained in:
Dario Coscia
2023-01-03 10:22:24 +01:00
committed by GitHub
parent 53cbf3f22c
commit 9347e79287
4 changed files with 8 additions and 9 deletions

View File

@@ -82,12 +82,11 @@ time domain where we want the solution.
Summarizing, in PINA we can initialize a problem with a class which is
inherited from three base classes: ``SpatialProblem``,
``TimeDependentProblem``, ``ParametricProblem``, depending on the type
of problem we are considering. For reference: \* ``SpatialProblem``
:math:`\rightarrow` spatial variable(s) presented in the differential
equation \* ``TimeDependentProblem`` :math:`\rightarrow` time
variable(s) presented in the differential equation \*
``ParametricProblem`` :math:`\rightarrow` parameter(s) presented in the
differential equation
of problem we are considering. For reference:
* ``SpatialProblem`` :math:`\rightarrow` spatial variable(s) presented in the differential equation
* ``TimeDependentProblem`` :math:`\rightarrow` time variable(s) presented in the differential equation
* ``ParametricProblem`` :math:`\rightarrow` parameter(s) presented in the differential equation
Write the problem class
~~~~~~~~~~~~~~~~~~~~~~~

View File

@@ -13,7 +13,7 @@ The problem is written in the following form:
:raw-latex:`\begin{equation}
\begin{cases}
\Delta u(x,y,t) = \frac{\partial^2}{\partial t^2} u(x,y,t) \quad \text{in } D, \\\\
u(x, y, t=0) = \sin(\pi x)\sin(\pi y)\cos(\sqrt{2}\pi), \\\\
u(x, y, t=0) = \sin(\pi x)\sin(\pi y), \\\\
u(x, y, t) = 0 \quad \text{on } \Gamma_1 \cup \Gamma_2 \cup \Gamma_3 \cup \Gamma_4,
\end{cases}
\end{equation}`

View File

@@ -24,7 +24,7 @@
"\\begin{equation}\n",
"\\begin{cases}\n",
"\\Delta u(x,y,t) = \\frac{\\partial^2}{\\partial t^2} u(x,y,t) \\quad \\text{in } D, \\\\\\\\\n",
"u(x, y, t=0) = \\sin(\\pi x)\\sin(\\pi y)\\cos(\\sqrt{2}\\pi), \\\\\\\\\n",
"u(x, y, t=0) = \\sin(\\pi x)\\sin(\\pi y), \\\\\\\\\n",
"u(x, y, t) = 0 \\quad \\text{on } \\Gamma_1 \\cup \\Gamma_2 \\cup \\Gamma_3 \\cup \\Gamma_4,\n",
"\\end{cases}\n",
"\\end{equation}\n",

View File

@@ -12,7 +12,7 @@
# \begin{equation}
# \begin{cases}
# \Delta u(x,y,t) = \frac{\partial^2}{\partial t^2} u(x,y,t) \quad \text{in } D, \\\\
# u(x, y, t=0) = \sin(\pi x)\sin(\pi y)\cos(\sqrt{2}\pi), \\\\
# u(x, y, t=0) = \sin(\pi x)\sin(\pi y), \\\\
# u(x, y, t) = 0 \quad \text{on } \Gamma_1 \cup \Gamma_2 \cup \Gamma_3 \cup \Gamma_4,
# \end{cases}
# \end{equation}