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>
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>
gov/pipermail/petsc-users/attachments/20120423/2a115d14/attachment.htm>
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
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
>> 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
>> 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
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>
> 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>
_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>
bbed...
URL:
<http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120423/c6772a59/attachment-0001.htm>
ditioning method.
-- next part --
An HTML attachment was scrubbed...
URL:
<http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120423/237debdf/attachment.htm>
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>
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>
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>
15 matches
Mail list logo