ricky
03-07-2003, 08:55 PM
Hello:
I would like to ask whether or not there is a possible typo in Figure 19.0.3 (Page 832 of the NR in C, 2nd ed.). Based on the setup in equations 19.0.4 to 19.0.9, it seems that the matrix should have (J-1) blocks going down and (J-1) blocks going across. In addition, it seems that each block should be
(L-1) X (L-1). However, these are stated as (J+1) blocks going down and (J+1) blocks going across, and each block is stated
as being (L+1) X (L+1).
It seems that if you take the boundary conditions into consideration, we will have (J-1)(L-1) unknowns in this system, and so the matrix may need to have the dimensions I mentioned.
Certainly, I could be be incorrect, and I can only ask for your pardon in that case. If you can respond to this inquiry, I would appreciate it.
Thank you,
Ricky
I would like to ask whether or not there is a possible typo in Figure 19.0.3 (Page 832 of the NR in C, 2nd ed.). Based on the setup in equations 19.0.4 to 19.0.9, it seems that the matrix should have (J-1) blocks going down and (J-1) blocks going across. In addition, it seems that each block should be
(L-1) X (L-1). However, these are stated as (J+1) blocks going down and (J+1) blocks going across, and each block is stated
as being (L+1) X (L+1).
It seems that if you take the boundary conditions into consideration, we will have (J-1)(L-1) unknowns in this system, and so the matrix may need to have the dimensions I mentioned.
Certainly, I could be be incorrect, and I can only ask for your pardon in that case. If you can respond to this inquiry, I would appreciate it.
Thank you,
Ricky