Changeset 295 for trunk/SRC/Grid


Ignore:
Timestamp:
09/25/07 12:16:00 (17 years ago)
Author:
pinsard
Message:

typo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Grid/numbisland.pro

    r240 r295  
    55; @file_comments 
    66; recursive function. 
    7 ; for one given point on an island, check if its neighbourgs are on the same island 
     7; for one given point on an island, check if its neighbors are on the same island 
    88; 
    99; @param msk {in}{required}{type=2D array of 0 and 1} 
     
    3030; flag the point 
    3131  msk[indin] = numb 
    32 ; find its neighbourgs 
     32; find its neighbors 
    3333  indx = (indin MOD nx) + [-1L, 0L, 1L] 
    3434  indx = (temporary(indx) + nx) MOD nx ; x periodicity 
     
    3737; build 1d index 
    3838  ind = temporary(indx)#replicate(1L, 3) + replicate(nx, 3)#temporary(indy) 
    39 ; for each neighbourg on the same island, call again mskneig 
     39; for each neighbor on the same island, call again mskneig 
    4040  FOR i = 0, n_elements(ind)-1 DO BEGIN 
    4141    IF msk[ind[i]] EQ 0 THEN mskneig, msk, nx, ny, ind[i], numb 
Note: See TracChangeset for help on using the changeset viewer.