|
From: | Marco Vassallo |
Subject: | Re: [fem-fenics] interpolate |
Date: | Mon, 19 May 2014 13:55:13 +0200 |
On May 19, 2014 12:58 PM, Marco Vassallo <address@hidden> wrote:
>
>
>
>
> On Sun, May 18, 2014 at 3:29 PM, Eugenio Gianniti <address@hidden> wrote:
>>
>>>> I added a new post [1] with an example and submitted a second patch [2] adding a Python-like interface. Let me know what you think of it.
>>
>> Eugenio
>>
>> Hi Eugenio,
>
> thank you very much for your post, it explains well the new function (next time please add also a plot so that it is more colorful).
>
> About the second version of your code:
> 1) it is really good, congrats!
> 2) I would change only the order of the input parameter:
> - first argument the function or the _expression_ that has to be interpolated
> - 2nd argument the functionspace or the function where the first argument has to be interpolated
> I think you used something different in order to be compliant with the c++ and the python interface at the same time, but it is a little bit counterintuitive!
> What do you think about it?Since the python interface is already established I would leave the functionspace in second place, as it is. I can move the function on which to interpolate as you suggest, for the C++ interface uses a class method, hence it is different also with current order.
Eugenio
>
> As today GSOC starts, we should clearly define the goal for midterm and final evaluation.
> Do we have any news from FEniCS or any suggestion on how they could be integrated??
>
> marco
>
>
>>>> [1] http://gsoc2014-eg123.blogspot.it/2014/05/my-first-function-follow-up.html?m=1
>> [2] http://savannah.gnu.org/patch/?8460
>>
>> >
>> > Marco
>> >
>> >> Eugenio
>> >>
>> >>>
>> >>>>
>> >>>> Thank you and have a nice weekend,
>> >>>> Eugenio
>> >>>
>> >>>
>> >>
>> >
>
>
[Prev in Thread] | Current Thread | [Next in Thread] |