forked from python-hydro/pyro2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDEVELOPMENT
More file actions
44 lines (23 loc) · 1.05 KB
/
Copy pathDEVELOPMENT
File metadata and controls
44 lines (23 loc) · 1.05 KB
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
43
44
This is a simple list of the improvements we wish to make to pyro.
coding:
-- make compatible with python 3.x
* use __future__ to get the new print() to continue to work with python 2.6+
* on Fedora, we need to install python3-numpy, python3-matplotlib, python3-f2py
* we need to use f2py3
* print -> print()
* exec -> exec()
* it seems in __init__ and for other imports we need to explicitly put a .
we may need something like:
try:
from . import mymodule # "myapp" case
except:
import mymodule # "__main__" case
(see http://stackoverflow.com/questions/1112618/import-python-package-from-local-directory-into-interpreter)
-- rewrite to adhere to python style guidelines
-- docstrings should be added everywhere possible
-- is there a way to define a range like ii = [myg.ilo:myg.ihi+1]
and then do something like ii+1 to get [myg.ilo+1:myg.ihi+2]?
new solvers:
-- Burgers equation (viscous and inviscid)
infrastructure:
-- well-defined unit tests