[petsc-users] Questions abt ex22f

2012-04-23 Thread TAY wee-beng
patches > make > cd src/ksp/ksp/examples/tutorials > # uncomment VecView if you want > make ex22f > ./ex22f -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120423/1a26d30e/attachment.htm>

[petsc-users] Gauss-Seidel

2012-04-23 Thread Jed Brown
nitial guess as usual >> (KSPSetInitialGuessNonzero()). >> >> Links: >> -- >> [1] mailto:burckhardt at itis.ethz.ch >> > > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120423/32380d26/attachment.htm>

[petsc-users] Gauss-Seidel

2012-04-23 Thread Jed Brown
gov/pipermail/petsc-users/attachments/20120423/2a115d14/attachment.htm>

[petsc-users] SNES and ghosted vector of unknowns

2012-04-23 Thread Dominik Szczerba
On Mon, Apr 23, 2012 at 3:13 PM, Jed Brown wrote: > On Mon, Apr 23, 2012 at 08:11, Dominik Szczerba > wrote: >> >> What is 'func' on the SNESSetPicard manual page. It only says >> "function evaluation routine". What function? Do you mean Ax-b? > > > Just b(x) > >> >> >> > All SNESSetPicard does i

[petsc-users] unexpected behavior of the snes solver

2012-04-23 Thread Dominik Szczerba
Hi, I am implementing both FormFunction and FormJacobian for the SNES solver. It seems to start off correctly, with the 2 functions being called one after another in a loop, and with ||Ax-b|| decreasing about 3 orders of magnitude. But then only the FormFunction is being called several times, with

[petsc-users] SNES and ghosted vector of unknowns

2012-04-23 Thread Dominik Szczerba
>> 1) What is 'func' on the SNESSetPicard manual page. It only says >> "function evaluation routine". What function? Do you mean Ax-b? >> 2) Is it supposed to perform better / more optimally then using >> FormFunction with FormJacobian and passing A as the Jacobian? > > What is 'func' on the SNESS

[petsc-users] SNES and ghosted vector of unknowns

2012-04-23 Thread Dominik Szczerba
>> Thanks Barry for the hint. >> I am indeed solving my nonlinear system using the Picard scheme. >> I was once advised to set the Jacobian to my coefficient matrix "A" in >> the FormJacobian function passed to SNES to achieve this goal (I am >> still trying to get it to work with limited success t

[petsc-users] ex52_integrateElement.cu

2012-04-23 Thread Matthew Knepley
change PETSc/FEM.py:434. I am deciding what the best way to >> specify this type is. >> >> Thanks, >> >> -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120423/4676c467/attachment-0001.htm>

[petsc-users] ex52_integrateElement.cu

2012-04-23 Thread David Fuentes
> Okay, I have tested using PetscReal=double with floats on the GPU. If you > want doubles on the GPU, you can > currently change PETSc/FEM.py:434. I am deciding what the best way to > specify this type is. > > Thanks, > > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120423/9516d2bb/attachment.htm>

[petsc-users] SNES and ghosted vector of unknowns

2012-04-23 Thread Matthew Knepley
_mf_operator and will it approximate the Jacobian > correctly/efficiently in such cases? -snes_mf_operator allows the user to specify a preconditioner, which is usually necessary for good convergence. Matt > > Dominik > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120423/4cc01640/attachment.htm>

[petsc-users] unexpected behavior of the snes solver

2012-04-23 Thread Matthew Knepley
bbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120423/c6772a59/attachment-0001.htm>

[petsc-users] SNES and ghosted vector of unknowns

2012-04-23 Thread Jed Brown
ditioning method. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120423/237debdf/attachment.htm>

[petsc-users] unexpected behavior of the snes solver

2012-04-23 Thread Jed Brown
lem can such a behavior indicate? > > Regards, > Dominik > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120423/a10d7ad6/attachment.htm>

[petsc-users] SNES and ghosted vector of unknowns

2012-04-23 Thread Jed Brown
encil. Is it not so? You must be thinking of coloring. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120423/32594545/attachment.htm>

[petsc-users] SNES and ghosted vector of unknowns

2012-04-23 Thread Jed Brown
rd. I have yet to find a problem in which I can't make some variant of Newton beat it. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120423/f6cc45c9/attachment.htm>