[CIG-SHORT] Adaptive TimeStep for the quasi-static earthquake cycles simulation

Matthew Knepley knepley at rice.edu
Fri Jan 4 17:17:15 PST 2019


On Fri, Jan 4, 2019 at 11:45 AM Bei Xu <beixu2018 at gmail.com> wrote:

> Hello, everyone
> I want to add some code to implement adaptive TimeStep for the
> quasi-static earthquake cycles simulation. I want the time step size is
> calculated based on the slip rate. From the mail list, I know there is a
> hook for doing this. But I do not know where is the hook and how can I add
> my code?
>

In the current release, you are supposed to subclass TimeStepAdapt, which
does a simple adaptation based on a stability limit.


> Another question is, after I add the code, do I have to compile the entire
> program every time?
>

You have to compile each time you change code, yes.

  Thanks,

    Matt


> Hope someone would like to give me some suggestions.
> Best regards,
> Bei
> _________________________________________________
> CIG-SHORT has MOVED to our new forum.  Please
> head to https://community.geodynamics.org.
>
> This mailing list will be disabled at the end of
> January 2019.
> _________________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20190104/24c399df/attachment.html>


More information about the CIG-SHORT mailing list