← Back to team overview

dolfin team mailing list archive

Re: Removal of constructor Function(V, x)?

 

On Sun, Nov 20, 2011 at 11:49:42PM +0100, Marie E. Rognes wrote:
>
>
> On 20. nov. 2011, at 23:31, Anders Logg <logg@xxxxxxxxx> wrote:
>
> > Is anyone using the Function constructor that takes a vector as input
> > argument?
> >
> >  Function u(V, x);
> >
>
> Yes.

Does it work? In parallel?

Does it not work to instead use

  x = u.vector()

?

If you need it, we should keep it but add an error message that it
doesn't work in parallel, unless it does...

--
Anders


Follow ups

References