[petsc-dev] Updated src/sys/examples/tutorials/ex5.c

Richard Katz richard.katz at earth.ox.ac.uk
Thu Mar 24 12:30:26 CDT 2011


Attached is a diff file updating 
src/sys/examples/tutorials/ex5.c
which is an example of PetscBag use.

I've changed the order of the parameter registrations to put the Real values first, as required with quad precision.

If you run the new version with quad precision, you'll see that when the bag is viewed to stdout, the Real numerical values are incorrectly displayed.

Cheers
Rich


-------------- next part --------------
A non-text attachment was scrubbed...
Name: ex5.diff
Type: application/octet-stream
Size: 2526 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110324/3f7f446d/attachment.obj>


More information about the petsc-dev mailing list