Hi All, I am solving nonlinear BVP on structure grid using DM. For the variable v, I have the following term included in my residual: abs(v)*v
My question is: In DMMGSetSNESLocal(), for the FormFunctionLocal(), at interior node i, What is the right PETSc function to use for the abs in: abs(x[i].v) * x[i].v Thanks, Yan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100115/03e8124b/attachment.htm>
