Hi, <br>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. <br> PetscOptionsGetString(PETSC_NULL,"-Mode",&Mode,1,&flag);<br>
This gives me a \0. How can I get the input of only one character in dev? <br>Thanks.<br><br><br><br>