Rearranging util codes. Added meshUtils.closestPoints

This commit is contained in:
rowanc1
2014-04-23 12:11:36 -07:00
parent fb2bc30d96
commit a36f4d76bb
6 changed files with 329 additions and 322 deletions
+4 -2
View File
@@ -7,18 +7,20 @@ import warnings
DEFAULTS = {'direct':'scipy', 'iter':'scipy', 'triangular':'fortran', 'diagonal':'python'}
OPTIONS = {'direct':['scipy'], 'iter':['scipy'], 'triangular':['python'], 'diagonal':['python']}
HELP = []
try:
import Utils.TriSolve as TriSolve
OPTIONS['triangular'].append('fortran')
except Exception, e:
print 'Warning: Python backend is being used for solver. Run setup.py from the command line.'
HELP += ['Warning: Python backend is being used for solver. Run setup.py from the command line.']
DEFAULTS['triangular'] = 'python'
try:
import mumps
OPTIONS['direct'].append('mumps')
except Exception, e:
print 'Warning: mumps solver not available.'
HELP += ['Warning: mumps solver not available.']
class Solver(object):
"""