Re: [petsc-users] How to apply boundary conditions when using TS?

2021-11-25 Thread zhfreewill
Thank you for your reply. This is a good FD example for me and I think I understood it at least for FD discretization. Best, Qw Matthew Knepley 于2021年11月16日周二 下午7:11写道: > On Mon, Nov 15, 2021 at 10:24 PM zhfreewill wrote: > >> Hi, >> I'm new to PETSc. I have been confused about how to apply bou

Re: [petsc-users] How to apply boundary conditions when using TS?

2021-11-16 Thread Matthew Knepley
On Mon, Nov 15, 2021 at 10:24 PM zhfreewill wrote: > Hi, > I'm new to PETSc. I have been confused about how to apply boundary > conditions (BCs) (e.g., the Dirichlet and the Neumann type) when using the > time-stepping (TS) object of PETSc. > > I have read the example codes ( > https://petsc.org/

[petsc-users] How to apply boundary conditions when using TS?

2021-11-15 Thread zhfreewill
Hi, I'm new to PETSc. I have been confused about how to apply boundary conditions (BCs) (e.g., the Dirichlet and the Neumann type) when using the time-stepping (TS) object of PETSc. I have read the example codes ( https://petsc.org/release/src/ts/tutorials/index.html) and vaguely found that BCs se