- Timestamp:
- 11/20/2008 03:56:53 PM (7 weeks ago)
- Files:
-
- 1 modified
-
trunk/fipy/terms/term.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/fipy/terms/term.py
r2781 r2829 89 89 90 90 def __buildMatrix(self, var, SparseMatrix, boundaryConditions, dt): 91 91 if numerix.sctype2char(var.getsctype()) not in numerix.typecodes['Float']: 92 import warnings 93 warnings.warn("""sweep() or solve() are likely to produce erroneous results when `var` does not contain floats.""", 94 UserWarning, stacklevel=3) 95 92 96 self._verifyCoeffType(var) 93 97
FiPy: A Finite Volume PDE Solver Using Python