PetscErrorCode  TSSetProblemType(TS ts, TSProblemType type) 
{
  PetscErrorCode ierr;

  PetscFunctionBegin;
  PetscValidHeaderSpecific(ts, TS_CLASSID,1);
  ts->problem_type = type;
  if (type == TS_LINEAR) {
    SNES snes;
    ierr = TSGetSNES(ts,&snes);CHKERRQ(ierr);
    ierr = SNESSetType(snes,SNESKSPONLY);CHKERRQ(ierr);
  }
  PetscFunctionReturn(0);
}

  So if an explicit method is used then the SNES object is generated and TSView 
causes the SNES object to be printed even though it is never used and doesn't 
make sense in that context.

   What is the plan to fix this?   Currently lots of nightly builds in TS are 
broken because -ts_view prints SNES object but output/* files do not have them.


   Barry


Reply via email to