[petsc-users] Field wise residual norm

Dharmendar Reddy dharmareddy84 at gmail.com
Mon Jan 13 16:11:18 CST 2014


Hello,
        Is there a petsc function which can help accomplish the following:
I am solving a coupled system of equations:

F1(x1,x2,x3) = 0

F2(x1,x2,x3) = 0

F3(x1,x2,x3) = 0


I am using DMPlex to handle to mesh data. I would like to compute the
norm of residual of each function.

I assemble the function element wise. I am looking for some interface like,
ComputNorm(dm, F, fieldIndex).

Thanks
Reddy


More information about the petsc-users mailing list