[petsc-dev] The question about MatNullSpaceSetFunction()

Lulu Liu lulu.liu at kaust.edu.sa
Wed Apr 1 04:39:15 CDT 2015


I feel confused about  MatNullSpaceSetFunction(), and is there any example
to show how to use this function? What should I do in the the following
function* rem?*
For example, I have a vection a=(a1,a2,a3) and the null space is (0,0,1).

PetscErrorCode MatNullSpaceSetFunction(MatNullSpace sp, PetscErrorCode
(*rem)(MatNullSpace,Vec,void*),void *ctx)

Input Parameters*sp*- the null space object*rem*- the function that removes
the null space
*ctx*- context for the remove function

-- 

------------------------------
This message and its contents, including attachments are intended solely 
for the original recipient. If you are not the intended recipient or have 
received this message in error, please notify me immediately and delete 
this message from your computer system. Any unauthorized use or 
distribution is prohibited. Please consider the environment before printing 
this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150401/b401d6e9/attachment.html>


More information about the petsc-dev mailing list