Hi,
In the version of 3.1-p5, PetscOptionsGetString() can be used to get a char
input. It seems that it doesn't work any more in development version.
 PetscOptionsGetString(PETSC_NULL,"-Mode",&Mode,1,&flag);
This gives me a \0. How can I get the input of only one character in dev?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110415/90a7f547/attachment.html>

Reply via email to