[petsc-users] PETSc default values

Mike McCourt mccomic at mcs.anl.gov
Wed Nov 9 14:56:19 CST 2011


Pass -ksp_view (or -snes_view for SNES problems) as a run time option.

-Mike

----- Original Message -----
From: "Xiangdong Liang" <xdliang at gmail.com>
To: "PETSc users list" <petsc-users at mcs.anl.gov>
Sent: Wednesday, November 9, 2011 2:51:35 PM
Subject: [petsc-users] PETSc default values

Hello everyone,

I have a question about the default values set by PETSc. For example,

KSPSetTolerances(ksp,1.e-5,PETSC_DEFAULT,PETSC_DEFAULT,PETSC_DEFAULT);

What's the atol and maxits set by PETSC_DEAULT? Is there a way to
print them out? Thanks.

Xiangdong


More information about the petsc-users mailing list