[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SNESSetApplicationContext usage
- To: <petsc-users@xxxxxxxxxxx>
- Subject: SNESSetApplicationContext usage
- From: "Vijay S. Mahadevan" <vijay.m@xxxxxxxxx>
- Date: Tue, 25 Mar 2008 20:54:23 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-mailer:in-reply-to:thread-index:x-mimeole; bh=/pJJfYiVrEgIckQZ7Hkg9UBrKkr+PRtwmvwNO8fekZU=; b=WF6TicFMNq2aA+W9k060/pUKrUc4pdye3BnimWP4vtzvckJf/uIr/6cpFMHMlVKhifcQGoq9e83uUZRF/p+n9f1D6rdtjsJ8x6TZ9njJvefVyj7afrs3nxYTmDmJV2FjfSK7L3AEdSxL0opU8AXJsuzEqtFrL39o7fhr5f2oZkg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=from:to:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-mailer:in-reply-to:thread-index:x-mimeole; b=J3sLPWEknUGkXRmWzJSLMhp35Rt9qmWD7WIm0kPd+wWoQ40StbAq82k+rz9C2tgtt63lEr+dE+SATastrGWVfVRHC4/hjdeLPP8ivGZq/8tMg3twJacJfDVaklVZjXRyB5P/5Wi/GwXxwvr1Pgi7+4S2VsYuzgZH9PdF3TsTyzE=
- In-reply-to: <a9f269830803251617m2d9582b4w283ffd0c5315c506@mail.gmail.com>
- Reply-to: petsc-users@xxxxxxxxxxx
- Sender: owner-petsc-users@xxxxxxxxxxx
- Thread-index: AciOznLFUeR802oeTmC0g4LKczA7uQAFUvVg
Hi,
I am trying to use the SNESSetApplicationContext function to set an object
as a user application context. This is being done after the SNESSolve was
already called once on the SNES object, using a NULL application context.
For some reason, after the SNESSetApplicationContext call, the application
context on SNES is not being set. I am wondering if maybe I need to set some
flag to tell the SNES object to include this new context in further residual
and Jacobian calls. I saw the code for the SNESSetApplicationContext
function and it doesn't look like it but may be I am missing something ?
Thanks for the help.
Vijay
No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.0/1342 - Release Date: 3/25/2008
10:26 AM