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

Lisandro Dalcin dalcinl at gmail.com
Wed Apr 19 07:48:41 CDT 2017


On 19 April 2017 at 14:24, Jed Brown <jed at jedbrown.org> wrote:
>> Lisandro Dalcin <dalcinl at gmail.com> writes:
>>
>> I would like your opinion on code located at TSSetUp_BDF() related to
>> clipping factors. I'm restricting the high clipping factor to 2.0, as
>> the default (10.0) is too much in practice,
>
> I definitely believe that for BDF.  Not sure I believe it for some
> one-step methods.  Are you intending to change it for all methods or
> just for BDF?
>

As I said, this clipping factor reduction happens just in
TSSetUp_BDF(), so other methods are not affected at all:

https://bitbucket.org/petsc/petsc/src/564cb255e992681ad55e079799b60bf126f97706/src/ts/impls/bdf/bdf.c?at=master&fileviewer=file-view-default#bdf.c-329


-- 
Lisandro Dalcin
============
Research Scientist
Computer, Electrical and Mathematical Sciences & Engineering (CEMSE)
Extreme Computing Research Center (ECRC)
King Abdullah University of Science and Technology (KAUST)
http://ecrc.kaust.edu.sa/

4700 King Abdullah University of Science and Technology
al-Khawarizmi Bldg (Bldg 1), Office # 0109
Thuwal 23955-6900, Kingdom of Saudi Arabia
http://www.kaust.edu.sa

Office Phone: +966 12 808-0459



More information about the petsc-dev mailing list