On Sat, 6 May 2023, Danyang Su wrote:
> Hi All,
>
>
>
> My code has some FPP. It works fine in PETSc 3.18 and earlier version, but
> stops working in the latest PETSc-Dev. For example the following FPP
> STANDARD_FORTRAN is not recognized.
>
>
>
> #ifdef STANDARD_FORTRAN
>
> 1 form
On Sat, May 6, 2023 at 7:25 PM Jorti, Zakariae via petsc-users <
petsc-users@mcs.anl.gov> wrote:
> Hello,
>
>
> I have a time-dependent model that I solve using TSSolve.
>
> And I am trying to adaptively change the step size (dt).
>
> I found that there are some TSAdapt schemes already available.
Hello,
I have a time-dependent model that I solve using TSSolve.
And I am trying to adaptively change the step size (dt).
I found that there are some TSAdapt schemes already available.
I have tried TSADAPTBASIC and TSADAPTCFL.
The former runs without any problems, whereas the latter yields th
On Sat, May 6, 2023 at 11:47 AM Huidong Yang
wrote:
> Hi Petsc developer.
>
> may I ask if there is any available implementations in petsc
> using leap-frog scheme?
>
I don't think we have leapfrog, but we do have Stormer-Verlet, which is
also a 2nd order symplectic method.
Thanks,
Matt
Hi Petsc developer.
may I ask if there is any available implementations in petsc
using leap-frog scheme?
Thanks.
Fixed in https://gitlab.com/petsc/petsc/-/merge_requests/6423
Jose
> El 6 may 2023, a las 9:16, gaochenyi14 escribió:
>
> Hi,
>
> By `find` and `grep`, I find that in many PETSc examples `MatAssembly*()` are
> called after `MatSetValue()`. But in the C/Fortran API manual, the man page
> of
Hi,
By `find` and `grep`, I find that in many PETSc examples `MatAssembly*()` are
called after `MatSetValue()`. But in the C/Fortran API manual, the man page of
`MatAssembly*()` does not say it is necessary for `MatSetValue()`. And the man
page of `MatSetValue()` does not say it is a must to c