- Timestamp:
- 11/12/2008 11:02:43 AM (8 weeks ago)
- Files:
-
- 1 modified
-
trunk/fipy/variables/addOverFacesVariable.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/fipy/variables/addOverFacesVariable.py
r2781 r2815 71 71 for(j = 0; j < numberOfCellFaces; j++) 72 72 { 73 value[i] += orientations[i + j * numberOfCells] * faceVariable[ids[i + j * numberOfCells]]; 73 // _getCellFaceIDs() can be masked, which caused subtle and 74 // unreproduceable problems on OS X (who knows why not elsewhere) 75 long id = ids[i + j * numberOfCells]; 76 if (id >= 0) { 77 value[i] += orientations[i + j * numberOfCells] * faceVariable[ids[i + j * numberOfCells]]; 78 } 74 79 } 75 80 value[i] = value[i] / cellVolume[i];
FiPy: A Finite Volume PDE Solver Using Python