← Back to team overview

dolfin team mailing list archive

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

 


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. 

--
Marie

> If not, we should remove it since it's not safe to use in parallel
> (see discussion "Problem with missing ghost values"). For it to work,
> the vector x needs to have the correct parallel layout to match the
> dofmap and mesh of V.
> 
> --
> Anders
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help   : https://help.launchpad.net/ListHelp


Follow ups

References