[petsc-dev] How come TSBDF has its own flag for turning on adaptivity?

Barry Smith bsmith at mcs.anl.gov
Tue Apr 18 18:36:35 CDT 2017


   Lisandro,

     How come TSBDF has its own flag for turning on adaptivity? 

  TSBDFUseAdapt - Use time-step adaptivity with the BDF method

  Logically Collective on TS

  Input Parameter:
+  ts - timestepping context
-  use - flag to use adaptivity

  Options Database:
.  -ts_bdf_adapt


Is there anyway this can be removed so the standard TS flags can be used to control turning on adaptivity for TSBDF? Even if TSBDF needs its own custom adapt code that is fine, but it should be able to be turned on (probably should be on by default anyways) without a special switch.

  Barry




More information about the petsc-dev mailing list