[petsc-users] PetscOptionsGetRealArray command line format

Xiangdong epscodes at gmail.com
Fri Feb 14 12:07:22 CST 2014


Hello everyone,

I want to pass a array into petsc through command line. What is the correct
format for PetscOptionsGetRealArray? I tried

myarray=1,2,3,4,5;

and

myarray=(1,2,3,4,5);

However, neither of them works. Any suggestions?

Thank you.

Xiangdong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140214/01bbbeac/attachment.html>


More information about the petsc-users mailing list