[petsc-users] could I update the user-defined parameters after each linear iteration?

(Rebecca) Xuefei YUAN xy2102 at columbia.edu
Mon Feb 8 14:40:45 CST 2010

Dear all,

KSPSolve() is called through the following,
#0  KSPSolve (ksp=0x899cf20, b=0x8987a70, x=0x89f9990) at itfunc.c:299
#1  0x08069e0c in SNES_KSPSolve (snes=0x89958c0, ksp=0x899cf20,  
b=0x8987a70, x=0x89f9990) at snes.c:2931
#2  0x08085639 in SNESSolve_LS (snes=0x89958c0) at ls.c:191
#3  0x08065074 in SNESSolve (snes=0x89958c0, b=0x0, x=0x8988e30) at  
#4  0x0807ebf9 in DMMGSolveSNES (dmmg=0x89aad90, level=0) at damgsnes.c:510
#5  0x080780f1 in DMMGSolve (dmmg=0x89aad90) at damg.c:313
#6  0x0804d577 in Solve (dmmg=0x89aad90) at twmgvggtnivexc.c:247
#7  0x0804cea4 in main (argc=-2080374784, argv=0x1) at twmgvggtnivexc.c:191

Is there any way I can update the user-defined parameters inside after  
each linear iteration is done?

Thanks a lot!

(Rebecca) Xuefei YUAN
Department of Applied Physics and Applied Mathematics
Columbia University

More information about the petsc-users mailing list