<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in ex1.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2025</copyright>
    <generator>Java</generator><item>
        <title>4e8208cbcbc709572b8abe32f33c78b69c819375 - Merge branch &apos;barry/2026-01-13/ftn-generation-for-context-functions&apos; into &apos;main&apos;</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/ts/tutorials/hybrid/ex1.c#4e8208cbcbc709572b8abe32f33c78b69c819375</link>
        <description>Merge branch &apos;barry/2026-01-13/ftn-generation-for-context-functions&apos; into &apos;main&apos;Fortran generation of interface definitions for functions that take and return context variables  (void *ctx and PetCtx ctx)See merge request petsc/petsc!8956

            List of files:
            /petsc/src/ts/tutorials/hybrid/ex1.c</description>
        <pubDate>Sat, 31 Jan 2026 18:41:18 +0000</pubDate>
        <dc:creator>Satish Balay &lt;balay@mcs.anl.gov&gt;</dc:creator>
    </item>
<item>
        <title>2a8381b23c702518c6b1ccbeafee50b9375df0e4 - Add automatic generated fortran support for setting and returning contexts</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/ts/tutorials/hybrid/ex1.c#2a8381b23c702518c6b1ccbeafee50b9375df0e4</link>
        <description>Add automatic generated fortran support for setting and returning contextsMajor cleanup of the code for setting and returning application (previously called user) contexts  - PetscCtx ctx is now the standard for passing in contexts  - PetscCtxRt ctx is the standard for passing out contexts, including context destroy routines based on PetscCtxDestroyFnBoth of these are typedef to void*Also removed most use of user and userctx for context arguments now consistently named ctxImproved documentation on PetscCtx and PetscCtxRt and on how to use contexts (including getting them) from Fortran

            List of files:
            /petsc/src/ts/tutorials/hybrid/ex1.c</description>
        <pubDate>Tue, 13 Jan 2026 04:45:38 +0000</pubDate>
        <dc:creator>Barry Smith &lt;bsmith@mcs.anl.gov&gt;</dc:creator>
    </item>
<item>
        <title>732aec7a18f2199fb53bb9a2f3aef439a834ce31 - Merge branch &apos;jolivet/remove-cast&apos; into &apos;main&apos;</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/ts/tutorials/hybrid/ex1.c#732aec7a18f2199fb53bb9a2f3aef439a834ce31</link>
        <description>Merge branch &apos;jolivet/remove-cast&apos; into &apos;main&apos;Use NULL or nullptr instead of casted 0See merge request petsc/petsc!7857

            List of files:
            /petsc/src/ts/tutorials/hybrid/ex1.c</description>
        <pubDate>Sun, 22 Sep 2024 17:54:06 +0000</pubDate>
        <dc:creator>Satish Balay &lt;balay@mcs.anl.gov&gt;</dc:creator>
    </item>
<item>
        <title>c8025a5415d73fd1c6005393f2b0e60677bf5915 - Use NULL or nullptr instead of casted 0</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/ts/tutorials/hybrid/ex1.c#c8025a5415d73fd1c6005393f2b0e60677bf5915</link>
        <description>Use NULL or nullptr instead of casted 0

            List of files:
            /petsc/src/ts/tutorials/hybrid/ex1.c</description>
        <pubDate>Sat, 21 Sep 2024 07:20:33 +0000</pubDate>
        <dc:creator>Pierre Jolivet &lt;pierre@joliv.et&gt;</dc:creator>
    </item>
<item>
        <title>970231d20df44f79b27787157e39d441e79f434b - Merge branch &apos;jolivet/clang-format-18&apos; into &apos;main&apos;</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/ts/tutorials/hybrid/ex1.c#970231d20df44f79b27787157e39d441e79f434b</link>
        <description>Merge branch &apos;jolivet/clang-format-18&apos; into &apos;main&apos;clang-format version 18See merge request petsc/petsc!6902

            List of files:
            /petsc/src/ts/tutorials/hybrid/ex1.c</description>
        <pubDate>Thu, 07 Mar 2024 12:36:17 +0000</pubDate>
        <dc:creator>Satish Balay &lt;balay@mcs.anl.gov&gt;</dc:creator>
    </item>
<item>
        <title>4ad8454beace47809662cdae21ee081016eaa39a - Remove some unneeded parentheses</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/ts/tutorials/hybrid/ex1.c#4ad8454beace47809662cdae21ee081016eaa39a</link>
        <description>Remove some unneeded parentheses

            List of files:
            /petsc/src/ts/tutorials/hybrid/ex1.c</description>
        <pubDate>Fri, 09 Feb 2024 06:24:10 +0000</pubDate>
        <dc:creator>Pierre Jolivet &lt;pierre@joliv.et&gt;</dc:creator>
    </item>
<item>
        <title>c7fbd2bd3f8c01fa99614987dbf75cef1ca8e75e - Merge branch &apos;barry/2024-01-19/typedef-snes-functions&apos; into &apos;main&apos;</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/ts/tutorials/hybrid/ex1.c#c7fbd2bd3f8c01fa99614987dbf75cef1ca8e75e</link>
        <description>Merge branch &apos;barry/2024-01-19/typedef-snes-functions&apos; into &apos;main&apos;add typedef for functions passed to SNESSetFunction() etc to match approach in TSSee merge request petsc/petsc!7206

            List of files:
            /petsc/src/ts/tutorials/hybrid/ex1.c</description>
        <pubDate>Fri, 02 Feb 2024 22:37:23 +0000</pubDate>
        <dc:creator>Satish Balay &lt;balay@mcs.anl.gov&gt;</dc:creator>
    </item>
<item>
        <title>8434afd195968570cfdb5bc7b9cfc0a316d974ae - Change the use of the _Fn suffix to indicate a typedef of a function to just Fn</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/ts/tutorials/hybrid/ex1.c#8434afd195968570cfdb5bc7b9cfc0a316d974ae</link>
        <description>Change the use of the _Fn suffix to indicate a typedef of a function to just FnAs determined on a vote on GitLab

            List of files:
            /petsc/src/ts/tutorials/hybrid/ex1.c</description>
        <pubDate>Fri, 02 Feb 2024 17:26:52 +0000</pubDate>
        <dc:creator>Barry Smith &lt;bsmith@mcs.anl.gov&gt;</dc:creator>
    </item>
<item>
        <title>d1c5d1fc7e3c42c130de9f212400163d62c32b61 - Convert TS typedef functions to new style ending with _Fn</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/ts/tutorials/hybrid/ex1.c#d1c5d1fc7e3c42c130de9f212400163d62c32b61</link>
        <description>Convert TS typedef functions to new style ending with _FnCommit-type: housekeeping, maintainability

            List of files:
            /petsc/src/ts/tutorials/hybrid/ex1.c</description>
        <pubDate>Sun, 21 Jan 2024 17:32:56 +0000</pubDate>
        <dc:creator>Barry Smith &lt;bsmith@mcs.anl.gov&gt;</dc:creator>
    </item>
<item>
        <title>bff66efa9044f546ae447ed195723e21295eb6dd - Merge branch &apos;ilya-fursov/ts-fixevent2&apos; into &apos;main&apos;</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/ts/tutorials/hybrid/ex1.c#bff66efa9044f546ae447ed195723e21295eb6dd</link>
        <description>Merge branch &apos;ilya-fursov/ts-fixevent2&apos; into &apos;main&apos;TSEvent: refactor and fix bugs, add TSSetPostEventStep()See merge request petsc/petsc!6752

            List of files:
            /petsc/src/ts/tutorials/hybrid/ex1.c</description>
        <pubDate>Fri, 15 Dec 2023 16:29:03 +0000</pubDate>
        <dc:creator>Satish Balay &lt;balay@mcs.anl.gov&gt;</dc:creator>
    </item>
<item>
        <title>fe4ad979b698fa41c951a10ed910db35a8a8fc73 - Implement setting two distinct post-event steps</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/ts/tutorials/hybrid/ex1.c#fe4ad979b698fa41c951a10ed910db35a8a8fc73</link>
        <description>Implement setting two distinct post-event stepsThe two post-event steps are managed by:TSSetPostEventStep(), -ts_event_post_event_step,TSSetPostEventSecondStep(), -ts_event_post_event_second_step.(The latter function and option are replacement for the original PETScTSSetPostEventIntervalStep(), -ts_event_post_eventinterval_step,with some change of overall behaviour of 1st + 2nd steps).Also, reduce the number of tests ~ 4 times.

            List of files:
            /petsc/src/ts/tutorials/hybrid/ex1.c</description>
        <pubDate>Sun, 03 Dec 2023 08:40:52 +0000</pubDate>
        <dc:creator>Ilya Fursov &lt;ilya.foursov.7bd@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>fa9584fb611836aca54f08ab8720e6338ac4bd38 - Update the previously existing TSEvent tests and tutorials.</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/ts/tutorials/hybrid/ex1.c#fa9584fb611836aca54f08ab8720e6338ac4bd38</link>
        <description>Update the previously existing TSEvent tests and tutorials.Move src/ts/tests/ex1.c to src/ts/event/tests/ex1.cMove src/ts/tests/ex16.c to src/ts/event/tests/ex16.cMove src/ts/tests/ex22.c to src/ts/tutorials/ex32.c, as it&apos;s not a test.Fix the bouncing ball examples src/ts/tutorials/ex40.c and ex44.cto cleanly terminate on reaching M bounces.

            List of files:
            /petsc/src/ts/tutorials/hybrid/ex1.c</description>
        <pubDate>Sun, 03 Dec 2023 17:40:43 +0000</pubDate>
        <dc:creator>Ilya Fursov &lt;ilya.foursov.7bd@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>ca4445c7a2f5ca546b532f08b853c371604af17c - TSEvent: refactor and fix bugs, add TSSetPostEventStep()</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/ts/tutorials/hybrid/ex1.c#ca4445c7a2f5ca546b532f08b853c371604af17c</link>
        <description>TSEvent: refactor and fix bugs, add TSSetPostEventStep()    Refactor the core algorithm for resolution of events: TSEventHandler()    and the helper functions, fixing the existing bugs.    Change event indicator functions from PetscScalar to PetscReal.    Change the API of TSSetEventHandler(): in the user `indicator()` callback,    the &apos;fvalue&apos; argument type changed from PetscScalar[] to PetscReal[].    Add TSSetPostEventStep(), deprecate TSSetPostEventIntervalStep().    Deprecate option -ts_event_post_eventinterval_step.    Fix bugs in interaction of TSEvent with tspan.    Add six new test examples.    Below are the examples of bugs fixed by this patch.    The source codes (ex3.c, ex3span.c, ex4.c, ex5.c) can be found    in src/ts/event/tests. To run them with the older Petsc versions,    one would need to comment out &quot;#define NEW_VERSION&quot;.    Behaviour for three library versions is reported below:    * ORIG: current Petsc version, before the proposed patch.    * 6688: independently of the proposed patch, Merge Request 6688 was      developed, which fixed some bugs with zero-crossing directions.    * NEW : the proposed patch.    ./ex3 -ts_monitor -ts_event_monitor -ts_view -ts_type beuler \    -ts_adapt_type basic -flg -V 1e9 -ts_adapt_dt_min 1e-6 -change5 1 -dir 1    * ORIG: fails to resolve 5 out of 6 events, and resolves 23 incorrect events.    * 6688: fails to exit the TSEvent iteration via the step size (bracket size)      criterion.    * NEW : ok, resolves all 6 events.    ./ex4 -ts_adapt_type basic -ts_type rk -ts_dt 0.25 -ts_event_tol 1e-8 \    -dir 0 -ts_adapt_dt_min 1e-10 -ts_view -ts_monitor -ts_event_monitor    * ORIG: only reaches t = 0.0300236 after 10000 TS steps.    * 6688: only reaches t = 0.0300236 after 10000 TS steps.    * NEW : ok, reaches the final time t = 4.0 after 96 TS steps, resolving      all 16 events.    ./ex5 -ts_monitor -ts_event_monitor -ts_type rk -ts_adapt_type basic \    -ts_view -ts_dt 0.25 -flg -dir 0    * ORIG: only reaches t = 4.0 after 10000 TS steps, erroneously reports      event at t = 4.0 around 5000 times.    * 6688: only reaches t = 4.0 after 10000 TS steps.    * NEW : ok, reaches the final time t = 10.0 after 99 TS steps, resolving      all 34 events.    ./ex5 -ts_monitor -ts_event_monitor -ts_type rk -ts_adapt_type basic \    -ts_view -ts_dt 0.25 -flg -dir 1    * ORIG: fails, starts taking negative time steps, no events are correctly      resolved.    * 6688: ok, but slower: 90 TS steps to resolve all 17 events.    * NEW : ok, and faster: 48 TS steps to resolve all 17 events.    ./ex5 -ts_monitor -ts_event_monitor -ts_type rk -ts_adapt_type basic \    -ts_view -ts_dt 0.25 -flg -dir -1    * ORIG: fails, starts taking &apos;nan&apos; time steps.    * 6688: mostly fails, only reaches t = 4.99993 after 10000 TS steps.    * NEW : ok, reaches the final time t = 10.0 after 74 TS steps, resolving      all 17 events.    The same run in parallel:    mpirun -n 2 ./ex5 -ts_monitor -ts_event_monitor -ts_type rk \    -ts_adapt_type basic -ts_view -ts_dt 0.25 -flg -dir -1    * ORIG: fails, starts taking negative time steps, exits with runtime error.    * 6688: mostly fails, only reaches t = 3, besides, the parallel run is not      consistent with the serial run (see above).    * NEW : ok, reaches the final time t = 10.0 after 74 TS steps, resolving      all 17 events.    ./ex3span -ts_monitor -ts_event_monitor    * ORIG: (confused by events) misses tspan points: 4.02, 4.21, 4.98, 5.01,      5.21, 5.98, 6, 6.01, 6.02, 6.21, 6.99, 7.21, 8.01, 8.21, 9.01.    * 6688: (confused by events) misses tspan points: 4.02, 4.21, 4.98, 5.01,      5.21, 5.98, 6, 6.01, 6.02, 6.21, 6.99, 7.21, 8.01, 8.21, 9.01.    * NEW : ok.    ./ex3span -ts_monitor -ts_event_monitor -ts_event_post_event_step 0.5    * ORIG: misses the majority of tspan points (except 0.01 and 0.21),      and also resolves the last event location at wrong time t = 9.21.    * 6688: misses the majority of tspan points (except 0.01 and 0.21),      and also resolves the last event location at wrong time t = 9.21.    * NEW : ok.

            List of files:
            /petsc/src/ts/tutorials/hybrid/ex1.c</description>
        <pubDate>Thu, 20 Jul 2023 19:18:16 +0000</pubDate>
        <dc:creator>Ilya Fursov &lt;ilya.foursov.7bd@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>31d78bcd2b98084dc1368b20eb1129c8b9fb39fe - Merge branch &apos;jacobf/2022-12-10/petscerrorcode-nodiscard&apos; into &apos;main&apos;</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/ts/tutorials/hybrid/ex1.c#31d78bcd2b98084dc1368b20eb1129c8b9fb39fe</link>
        <description>Merge branch &apos;jacobf/2022-12-10/petscerrorcode-nodiscard&apos; into &apos;main&apos;Feature: Non-discardable PetscErrorCodeSee merge request petsc/petsc!5923

            List of files:
            /petsc/src/ts/tutorials/hybrid/ex1.c</description>
        <pubDate>Thu, 02 Feb 2023 20:39:47 +0000</pubDate>
        <dc:creator>Satish Balay &lt;balay@mcs.anl.gov&gt;</dc:creator>
    </item>
<item>
        <title>3ba1676111f5c958fe6c2729b46ca4d523958bb3 - Make PetscErrorCode a non-discardable enum</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/ts/tutorials/hybrid/ex1.c#3ba1676111f5c958fe6c2729b46ca4d523958bb3</link>
        <description>Make PetscErrorCode a non-discardable enum

            List of files:
            /petsc/src/ts/tutorials/hybrid/ex1.c</description>
        <pubDate>Sat, 10 Dec 2022 18:29:11 +0000</pubDate>
        <dc:creator>Jacob Faibussowitsch &lt;jacob.fai@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>061e922f3926be00487707c73b78dd3d40309129 - Merge branch &apos;jacobf/2022-09-21/2-bike-2-shed&apos; into &apos;main&apos;</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/ts/tutorials/hybrid/ex1.c#061e922f3926be00487707c73b78dd3d40309129</link>
        <description>Merge branch &apos;jacobf/2022-09-21/2-bike-2-shed&apos; into &apos;main&apos;Feature: Bicycle Storage Facility 2See merge request petsc/petsc!5661

            List of files:
            /petsc/src/ts/tutorials/hybrid/ex1.c</description>
        <pubDate>Thu, 22 Sep 2022 02:09:24 +0000</pubDate>
        <dc:creator>Satish Balay &lt;balay@mcs.anl.gov&gt;</dc:creator>
    </item>
<item>
        <title>d71ae5a4db6382e7f06317b8d368875286fe9008 - source code format changes due to .clang-format changes</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/ts/tutorials/hybrid/ex1.c#d71ae5a4db6382e7f06317b8d368875286fe9008</link>
        <description>source code format changes due to .clang-format changes

            List of files:
            /petsc/src/ts/tutorials/hybrid/ex1.c</description>
        <pubDate>Wed, 21 Sep 2022 21:15:28 +0000</pubDate>
        <dc:creator>Jacob Faibussowitsch &lt;jacob.fai@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>58d68138c660dfb4e9f5b03334792cd4f2ffd7cc - Merge branch &apos;barry/2022-08-21/clang-format-source&apos; into &apos;main&apos;</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/ts/tutorials/hybrid/ex1.c#58d68138c660dfb4e9f5b03334792cd4f2ffd7cc</link>
        <description>Merge branch &apos;barry/2022-08-21/clang-format-source&apos; into &apos;main&apos;format repository with clang-formatSee merge request petsc/petsc!5541

            List of files:
            /petsc/src/ts/tutorials/hybrid/ex1.c</description>
        <pubDate>Tue, 23 Aug 2022 05:26:23 +0000</pubDate>
        <dc:creator>Satish Balay &lt;balay@mcs.anl.gov&gt;</dc:creator>
    </item>
<item>
        <title>9371c9d470a9602b6d10a8bf50c9b2280a79e45a - clang-format: convert PETSc sources to comply with clang-format</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/ts/tutorials/hybrid/ex1.c#9371c9d470a9602b6d10a8bf50c9b2280a79e45a</link>
        <description>clang-format: convert PETSc sources to comply with clang-format

            List of files:
            /petsc/src/ts/tutorials/hybrid/ex1.c</description>
        <pubDate>Mon, 22 Aug 2022 15:20:12 +0000</pubDate>
        <dc:creator>Satish Balay &lt;balay@mcs.anl.gov&gt;</dc:creator>
    </item>
<item>
        <title>5cab5458055e6544d97095d04e76587ba3d30732 - Merge branch &apos;barry/2022-07-23/add-petscbeginuser&apos; into &apos;main&apos;</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/ts/tutorials/hybrid/ex1.c#5cab5458055e6544d97095d04e76587ba3d30732</link>
        <description>Merge branch &apos;barry/2022-07-23/add-petscbeginuser&apos; into &apos;main&apos;Add PetscFunctionBeginUser to all PETSc C/C++ examplesSee merge request petsc/petsc!5470

            List of files:
            /petsc/src/ts/tutorials/hybrid/ex1.c</description>
        <pubDate>Tue, 26 Jul 2022 19:33:37 +0000</pubDate>
        <dc:creator>Satish Balay &lt;balay@mcs.anl.gov&gt;</dc:creator>
    </item>
</channel>
</rss>
