-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpde1.py
More file actions
executable file
·42 lines (27 loc) · 810 Bytes
/
pde1.py
File metadata and controls
executable file
·42 lines (27 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
"""
PDE1 - Base class for 1st-order partial differential equations
This module provides the base functionality for all 1st-order partial
differential equation objects used in the nnode software.
Example:
Create an empty ODE1 object.
pde1 = PDE1()
The solution is assumed to be a function of m independent variables. In the
methods below, x is a vector of independent variables, and delY is the
Jacobian of the solution wrt the independent variables.
Attributes:
None
Methods:
None
Todo:
None
"""
from pde import PDE
class PDE1(PDE):
"""Base class for all 1st-order partial differential equation objects"""
def __init__(self):
super().__init__()
def G(self, x, Y, delY):
return None
if __name__ == '__main__':
pde1 = PDE1()
print(pde1)