[petsc-dev] PetscOptionsGetString
Shiyuan
gshy2014 at gmail.com
Fri Apr 15 18:44:47 CDT 2011
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>
More information about the petsc-dev
mailing list