Tutorial3 and 1 fix (#67)
This commit is contained in:
@@ -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
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@@ -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}`
|
||||
|
||||
Reference in New Issue
Block a user