Update tutorials 1 through 12 to current version 0.2
This commit is contained in:
committed by
Nicola Demo
parent
10ea59e15a
commit
14a6008437
10
tutorials/tutorial1/tutorial.ipynb
vendored
10
tutorials/tutorial1/tutorial.ipynb
vendored
@@ -137,7 +137,15 @@
|
||||
"execution_count": 2,
|
||||
"id": "f2608e2e",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"/home/matte_b/PINA/pina/operators.py: DeprecationWarning: 'pina.operators' is deprecated and will be removed in future versions. Please use 'pina.operator' instead.\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"from pina.problem import SpatialProblem\n",
|
||||
"from pina.operator import grad\n",
|
||||
|
||||
2
tutorials/tutorial1/tutorial.py
vendored
2
tutorials/tutorial1/tutorial.py
vendored
@@ -89,7 +89,7 @@ class TimeSpaceODE(SpatialProblem, TimeDependentProblem):
|
||||
#
|
||||
# Once the `Problem` class is initialized, we need to represent the differential equation in **PINA**. In order to do this, we need to load the **PINA** operators from `pina.operators` module. Again, we'll consider Equation (1) and represent it in **PINA**:
|
||||
|
||||
# In[2]:
|
||||
# In[ ]:
|
||||
|
||||
|
||||
from pina.problem import SpatialProblem
|
||||
|
||||
Reference in New Issue
Block a user