← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] merge

 

On Wed, Sep 30, 2009 at 11:23:21AM +0200, Anders Logg wrote:
> On Wed, Sep 30, 2009 at 08:58:01AM +0100, Garth N. Wells wrote:
> > 
> > 
> > Anders Logg wrote:
> > > On Tue, Sep 29, 2009 at 10:00:59PM +0100, Garth N. Wells wrote:
> > > 
> > >>> 2. Use the Expression class in demos where appropriate (just need to
> > >>> change the class name, everything else is the same).
> > >>>
> > >> Haven't you already done this everywhere?
> > > 
> > > No, just in the Poisson demo. I'll fix the others later.
> > > 
> > 
> > Any thoughts on how to deal with Dirichlet bcs? Constant works because 
> > it is a subclass of Function. Do we need a common base class for 
> > Function and Expression which has an eval function?
> 
> We could add eval() to the Coefficient interface. Both Expression and
> Function already have an eval() function.

Stupid comment. This is already there.

-- 
Anders

Attachment: signature.asc
Description: Digital signature


References