On Wed, Apr 1, 2015 at 4:39 AM, Lulu Liu <[email protected]> wrote:
> 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). > Your function should remove the null space. Thus, if you got that input, you would return (a1,a2,0) Matt > 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. -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener
