Hi,

On Tue, Jul 22, 2008 at 6:30 PM, Andrea Hawkins <[EMAIL PROTECTED]> wrote:
> Hi-
>
> I am trying to solve a nonlinear system using as my system class
> TransientNonlinearImplicitSystem with the PetscNonlinearSolver. I
> realize the PetscNonlinearSolver class has a function pointer for
> jacobian, but I am wondering how when the function jacobian is
> actually defined to interface with the
> TransientNonlinearImplicitSystem. i.e. how do I access the equation
> system.


A System can return a reference to the EquationSystem of which it is a part.

system.get_equation_systems();

should do it (see include/solvers/system.h).  Does that answer your question?


> Do you have a simple example of something similar being done I could look at?

I believe Derek's writing nonlinear solvers right now, so he will
probably have more to say shortly...

-- 
John

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to