Hi, could you suggest a small piece of code to define such cell variables in 
FiPy?  Suppose that we have N cell variables phi_i, i=1, 2, ..., N, and we want 
to define another set of cell variables s_i in such a way that:
s_i at a nodal point of the grid is defined as s_i=1, if either phi_i at the 
nodal point or phi_i at any one of the four nearest neighboring nodal points is 
nonzero, and otherwise as s_i=0.  Thanks for your time!  Regards, hzhatlboro





        
        
                
___________________________________________________________ 
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease 
of use." - PC Magazine 
http://uk.docs.yahoo.com/nowyoucan.html


Reply via email to