Can I rework
details = PETSC_FALSE;
ierr =
PetscOptionsGetBool(((PetscObject)ts)->prefix,"-ts_gl_view_detailed",&details,NULL);CHKERRQ(ierr);
ierr = PetscViewerASCIIPushTab(viewer);CHKERRQ(ierr);
for (i=0; i<gl->nschemes; i++) {
ierr = TSGLSchemeView(gl->schemes[i],details,viewer);CHKERRQ(ierr);
}
and
#undef __FUNCT__
#define __FUNCT__ "TSGLSchemeView"
static PetscErrorCode TSGLSchemeView(TSGLScheme sc,PetscBool
view_details,PetscViewer viewer)
{
PetscErrorCode ierr;
PetscBool iascii;
PetscFunctionBegin;
ierr =
PetscObjectTypeCompare((PetscObject)viewer,PETSCVIEWERASCII,&iascii);CHKERRQ(ierr);
if (iascii) {
to use PETSC_VIEWER_ASCII_INFO_DETAIL for additional detail not this command
line option and flag?
Barry