On Tue, Jul 22, 2008 at 9:19 PM, Andrea Hawkins <[EMAIL PROTECTED]> wrote: > This must be a syntax error that I'm not seeing, but when I try the command > > EquationSystems& es = system.get_equation_systems(); > > in the jacobian function, I get the error > > error: request for member get_equation_systems in system, which is of > non-class type.
>From within a NonlinearSolver or PetscNonlinearSolver, you will need to do: EquationSystems& es = system().get_equation_systems(); since NonlinearSolver::system() is a member function returning a reference to the present System. My previous email was a little confusing, I was just trying to convey the idea that get_equation_systems() was a System:: member. -- 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
