Dear all, I got this question long ago and searched the prior posting but did not find the solution. The question is about nonzero prescribed boundary condition. My understanding is that MatZeroRows() works only for zero prescribed value, not non-zero value. For the non-zero values, we have to remove the rows associated with the boundary, but this will lead to a zero dignal and accordingly the rows in r.h.s should also be removed. My question is that does MatZeroRows() also works for nonzero prescribed boundary and if so how to do it simply?
Rong
