From: Vinz A on
Hi,
Can anyone please help me to code a 2D algorithm in a iterative loop like forward march.
I need to integrate P(x,y). I have different equations for P(x) & P(y), but I need the code to solve for P(x) in right(x) direction and P(y) in down(y) direction as both are dependent on each other.
For example: the value px1 from the previous iteration (x=1) will be the input for x=2 and the output for it is Px2. at the same time it has to solve Py in y-direction taking Py1 as the input and Py2 as output.

-----PY1----------
(Px1) ! ! (Px2)
! !
-----------------
Py2
Cheers
Vinz