Re: [petsc-users] How to get total subsnes iterations

2022-10-12 Thread Matthew Knepley
On Wed, Oct 12, 2022 at 11:04 AM Takahashi, Tadanaga wrote: > Hi. I am using the snes nasm for the global solver and snes newtonls for > the local subdomain solver. I am trying to get the total number of Newton > iterations for just one subdomain. I've tried: > > SNESNASMGetSNES(snes,0,); >

[petsc-users] How to get total subsnes iterations

2022-10-12 Thread Takahashi, Tadanaga
Hi. I am using the snes nasm for the global solver and snes newtonls for the local subdomain solver. I am trying to get the total number of Newton iterations for just one subdomain. I've tried: SNESNASMGetSNES(snes,0,); SNESSolve(snes,NULL,u_initial); SNESGetNumberFunctionEvals(subsnes,_its);