← Back to team overview

dolfin team mailing list archive

Re: ConstantFunction

 

On Thu, Apr 05, 2007 at 10:53:33PM +0200, Garth N. Wells wrote:
> 
> Quoting Anders Logg <logg@xxxxxxxxx>:
> 
> > On Thu, Apr 05, 2007 at 02:07:27PM +0200, Garth N. Wells wrote:
> > > The code in ConstantFunction::interpolate does look right to me. 
> > > Shouldn't it just return "value"?
> > > 
> > > Garth
> >
> 
> Sorry, "does" should have been "doesn't". Should ConstantFunction be working or
> not? It doesn't appear to be working at the moment.
> 
> Garth

I'm not sure it works but it should...

While things were still working, I assembled the right-hand side for
Poisson in src/sandbox/assembly and got the same vector for the old
and the new assembly with the right-hand side

  Function f = 1.0;

Can you point me to where it is not working?

/Anders


References