← Back to team overview

dolfin team mailing list archive

Re: Non-linear Poisson demo using derivative()

 

On Mon, Aug 03, 2009 at 06:42:35AM +0100, Garth N. Wells wrote:
> On Aug 2 2009, Anders Logg wrote:
> 
> >On Thu, Jul 23, 2009 at 08:06:02PM +0200, Harish Narayanan wrote:
> >>I've attached a patch that modifies the non-linear Poisson demo to
> >>demonstrate the use of UFL's derivative function for linearisation.
> >>
> >>Could someone please check and apply it?
> >
> 
> I forgot to reply to the earlier message on this, but I would prefer
> to keep the old version. It demonstrates programming the Jacobian by
> hand. The Cahn-Hilliard demo illustrates the use of UFL derivative.
> 
> Garth

Perhaps we should have two versions, maybe even in the same script and
make sure they compute the same thing?

-- 
Anders

Attachment: signature.asc
Description: Digital signature


References