- Timestamp:
- 11/20/2008 05:08:18 PM (7 weeks ago)
- Location:
- trunk/fipy/solvers
- Files:
-
- 1 removed
- 1 modified
-
__init__.py (modified) (3 diffs)
-
scipy (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/fipy/solvers/__init__.py
r2497 r2831 14 14 elif '--Pysparse' in sys.argv[1:]: 15 15 from fipy.solvers.pysparse import * 16 elif '--Scipy' in sys.argv[1:]:17 from fipy.solvers.scipy import *18 16 else: 19 17 import os … … 24 22 elif os.environ['FIPY_SOLVERS'].lower() == 'trilinos': 25 23 from fipy.solvers.trilinos import * 26 elif os.environ['FIPY_SOLVERS'].lower() == 'scipy':27 from fipy.solvers.scipy import *28 24 else: 29 25 raise ImportError, 'Unknown solver package %s' % os.environ['FIPY_SOLVERS'] … … 46 42 pass 47 43 48 if not foundSolvers:49 try:50 from fipy.solvers.scipy import *51 foundSolvers = True52 except:53 pass54 55 44 if not foundSolvers: 56 45 raise ImportError, "Could not import any solver package. If you are using Trilinos, make sure you have all of the necessary Trilinos packages installed - Epetra, EpetraExt, AztecOO, Amesos, ML, and IFPACK."
FiPy: A Finite Volume PDE Solver Using Python