[petsc-users] compiler preprocessor for PETSc

2023-09-16 Thread Michael Wick
Hi PETSc team: What is an appropriate compiler preprocessor to tell the code PETSc has been initialized? Mike

[petsc-users] Monolithic AMG with fieldsplit as smoother

2023-07-26 Thread Michael Wick
Hello PETSc team: I wonder if the current PETSc implementation supports using AMG monolithically for a multi-field problem and using fieldsplit in the smoother. Thank you very much, Mike

[petsc-users] pass a member function to MatShellSetOperation

2021-09-30 Thread Michael Wick
Hi: I want to have the shell matrix-vector multiplication written as a class member function and pass it to the shell matrix via MatShellSetOperation. MatShellSetOperation(A, MATOP_MULT, (void (*)(void))(_Assem::MyMatMult)); Perhaps I have a wrong understanding of function pointers, and I am

Re: [petsc-users] Failure of MUMPS

2018-10-11 Thread Michael Wick
Thanks for all the suggestions! Increasing the value of icntl_14 in MUMPS helps a lot for my case. Do you have any suggestions for higher-order methods in saddle-point problems? Mike Dave May 于2018年10月11日周四 上午1:50写道: > > > On Sat, 6 Oct 2018 at 12:42, Matthew Knepley wrote: > >> On Fri, Oct