dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #02125
Re: sub-functions
I agree that this would be useful. I guess it would be rather straight
forward to implement. Anything in particular we need to consider?
/Johan
> Would it be possible to define sub-functions that don't make a copy of
> the vector associated with the function, rather just have a pointer to
> the original vector? I use sub-functions primarily for post-processing,
> so it would be useful not to have
>
> v = u[0];
>
> every time the result is written to a file.
>
> Garth
>
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev
>
References