Skip to content

Commit d203cc8

Browse files
committed
cleanup and fix
1 parent 3d1b708 commit d203cc8

File tree

7 files changed

+12
-9
lines changed

7 files changed

+12
-9
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ before_install:
2626
install:
2727
# this line needs to be updated to match the requirements.txt files
2828
# the conda installer isn't able to process PIP's requirements.txt files
29-
- conda install --yes python=${TRAVIS_PYTHON_VERSION} numpy future scipy matplotlib nose sphinx pep8 coverage mpi4py
29+
- conda install --yes python=${TRAVIS_PYTHON_VERSION} numpy future scipy matplotlib nose sphinx pep8 coverage mpi4py sympy
3030
- conda list
3131
- pip install --user coloredlogs
3232
- pip install --user travis-sphinx

examples/advection_1d_implicit/ProblemClass.py renamed to playgrounds/deprecated/advection_1d_implicit/ProblemClass.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
import scipy.sparse as sp
55
import scipy.sparse.linalg as LA
66

7-
from examples.advection_1d_implicit.getFDMatrix import getFDMatrix
8-
from pySDC.implementations.datatype_classes import mesh
7+
from playgrounds.deprecated.advection_1d_implicit.getFDMatrix import getFDMatrix
98
from pySDC.core.Problem import ptype
9+
from pySDC.implementations.datatype_classes import mesh
1010

1111

1212
class advection(ptype):

examples/advection_1d_implicit/playground.py renamed to playgrounds/deprecated/advection_1d_implicit/playground.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import numpy as np
22
import pySDC.core.deprecated.PFASST_stepwise as mp
3-
4-
from examples.advection_1d_implicit.ProblemClass import advection
53
from examples.advection_1d_implicit.TransferClass import mesh_to_mesh_1d_periodic
6-
from pySDC.implementations.datatype_classes import mesh
7-
from pySDC.implementations.sweeper_classes.generic_LU import generic_LU
4+
5+
from playgrounds.deprecated.advection_1d_implicit.ProblemClass import advection
86
from pySDC.core import CollocationClasses as collclass
97
from pySDC.core import Log
8+
from pySDC.implementations.datatype_classes import mesh
9+
from pySDC.implementations.sweeper_classes.generic_LU import generic_LU
1010

1111
if __name__ == "__main__":
1212

examples/advection_1d_implicit/plotFDconvergence.py renamed to playgrounds/deprecated/advection_1d_implicit/plotFDconvergence.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1+
import math
2+
13
import numpy as np
2-
from examples.advection_1d_implicit.getFDMatrix import getFDMatrix
34
import numpy.linalg as LA
4-
import math
55
from matplotlib import pyplot as plt
66

7+
from playgrounds.deprecated.advection_1d_implicit.getFDMatrix import getFDMatrix
8+
9+
710
def u_function(x):
811
u = np.zeros(np.size(x))
912
for i in range(0,np.size(x)):

0 commit comments

Comments
 (0)