dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #11356
Re: PyDOLFIN and shared_ptr
On Tuesday 23 December 2008 12:33:58 Garth N. Wells wrote:
> Will it cause any problems in the PyDOLFIN interface if I remove
>
> FunctionSpace* extract_sub_space(....) const;
>
> and replace it with
>
> std::tr1::shared_ptr<FunctionSpace> extract_sub_space(....) const;
>
I cannot forsee all potential use of this function but it wont cause any
problems for now at least. This function is only used indirectly when calling
the operator[] in function to extract subfunctions, and is not then exposed
to the python interface.
Johan
References