Changeset 2824 for trunk

Show
Ignore:
Timestamp:
11/17/2008 03:17:26 PM (7 weeks ago)
Author:
wd15
Message:

changed all().all() to flatten().all()

Location:
trunk/fipy/meshes/numMesh
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/fipy/meshes/numMesh/gmshImport.py

    r2823 r2824  
    124124   >>> print (mesh._getCellFaceIDs() == [[0, 0, 2, 7, 7, 8, 12, 14], 
    125125   ...                                   [1, 3, 5, 4, 8, 10, 13, 11], 
    126    ...                                   [2, 4, 6, 6, 9, 11, 9, 12]]).all().all() 
     126   ...                                   [2, 4, 6, 6, 9, 11, 9, 12]]).flatten().all() 
    127127   True 
    128128    
  • trunk/fipy/meshes/numMesh/mesh.py

    r2823 r2824  
    107107           ...                                   [7, 8, 10, 11], 
    108108           ...                                   [2, 3, 4, 5], 
    109            ...                                   [6, 7, 9, 10]]).all().all() 
     109           ...                                   [6, 7, 9, 10]]).flatten().all() 
    110110           True 
    111             
     111 
    112112           >>> mesh._connectFaces(numerix.nonzero(mesh.getFacesLeft()), numerix.nonzero(mesh.getFacesRight())) 
    113113 
     
    115115           ...                                   [7, 6, 10, 9], 
    116116           ...                                   [2, 3, 4, 5], 
    117            ...                                   [6, 7, 9, 10]]).all().all() 
     117           ...                                   [6, 7, 9, 10]]).flatten().all() 
    118118           True 
    119119 
  • trunk/fipy/meshes/numMesh/periodicGrid2D.py

    r2823 r2824  
    6363        ...                                   [7, 6, 10, 9], 
    6464        ...                                   [2, 3, 0, 1], 
    65         ...                                   [6, 7, 9, 10]]).all().all() 
     65        ...                                   [6, 7, 9, 10]]).flatten().all() 
    6666        True 
    6767