Re: [petsc-users] Trouble with ISEmbed

2022-10-20 Thread TARDIEU Nicolas via petsc-users
Dear Pierre, You fixed the problem! Thank you warmly for your precious help. Best regards, Nicolas -- Nicolas Tardieu Ing PhD Computational Mechanics EDF - R&D Dpt ERMES PARIS-SACLAY, FRANCE De : pie...@joliv.et Envoyé : mercredi 19 octobre 2022 22:22 À : TARDIEU

[petsc-users] DMPlex adding boundary without PETSc discretization

2022-10-20 Thread Gong Yujie
Dear development team, I'm trying to write a code to solve a partial differential equation. I didn't use PETSc's discretization. I have a question about the implementation of the boundary condition (Dirichlet boundary condition). When implementing the Dirichlet boundary condition. I need to set

Re: [petsc-users] DMPlex adding boundary without PETSc discretization

2022-10-20 Thread Matthew Knepley
On Thu, Oct 20, 2022 at 9:42 AM Gong Yujie wrote: > Dear development team, > > I'm trying to write a code to solve a partial differential equation. I > didn't use PETSc's discretization. I have a question about the > implementation of the boundary condition (Dirichlet boundary condition). > When

[petsc-users] Periodic boundary condition

2022-10-20 Thread Sepideh Kavousi
Hello, I want to solve my 5 PDEs based on finite difference method using periodic BC in x-direction and non-periodic in y-direction but I run into error (Segmentation Violation, probably memory access out of range). For this, I discretize my equation in FormFunction function. My PDE discretizat

Re: [petsc-users] Periodic boundary condition

2022-10-20 Thread Matthew Knepley
On Thu, Oct 20, 2022 at 6:48 PM Sepideh Kavousi wrote: > Hello, > > I want to solve my 5 PDEs based on finite difference method using > periodic BC in x-direction and non-periodic in y-direction but I run into > error (Segmentation Violation, probably memory access out of range). > > For this, I

Re: [petsc-users] An issue of Interior-Point Methods in TAO

2022-10-20 Thread 赵刚
I see. Thank you for your promptly reply. Best Regards, Gang > -原始邮件- > 发件人: "Barry Smith" > 发送时间: 2022-10-19 22:50:16 (星期三) > 收件人: "赵刚" , "Munson, Todd" > 抄送: petsc-users@mcs.anl.gov > 主题: Re: [petsc-users] An issue of Interior-Point Methods in TAO > > > It looks like it was star

Re: [petsc-users] Periodic boundary condition

2022-10-20 Thread Barry Smith
Some of the valgrind information does not appear to make sense PetscMemcpy() is not calling SNESSolve() so I suspect there must be some serious corruption of something to this impossible stack trace ==236074==by 0x6FD160F: SNESSolve (snes.c:4569) ==236074==by 0x711917E: PetscMemcpy (b

Re: [petsc-users] [External] Re: Periodic boundary condition

2022-10-20 Thread Sepideh Kavousi
Barry, I ran the code with -malloc_debug and added CHKMEMQ for all the lines inside formfunction. Following is the detail of error. Best, Sepideh [0]PETSC ERROR: [0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Vi