dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #13991
Re: Viper plot
On Fri, Jun 19, 2009 at 9:43 AM, Garth N. Wells<gnw20@xxxxxxxxx> wrote:
>
>
> Ola Skavhaug wrote:
>>
>> On Thu, Jun 18, 2009 at 5:01 PM, Garth N. Wells<gnw20@xxxxxxxxx> wrote:
>>>
>>> Ola Skavhaug wrote:
>>>>
>>>> On Thu, Jun 18, 2009 at 4:50 PM, Garth N. Wells<gnw20@xxxxxxxxx> wrote:
>>>>>
>>>>> When plotting a function from a C++ program using plot(u), I only get a
>>>>> plot of the mesh. When plotting from Python, I get the contour plot as
>>>>> expected. Any ideas what's up?
>>>>
>>>> Not really; will dig into this tomorrow. Do you have a reproducable
>>>> example?
>>>>
>>> The Poisson demo.
>>>
>>> Garth
>>
>> Is this still an issue? I have no problems when plotting from c++ with
>> the newest Viper.
>>
>
> No. I fixed it last night. I think it was a problem with templated functions
> in File.cpp.
>
> I would be nice if SWIG could do just-in-time compilation to deal with for
> templates :).
>
> Garth
Sure. The big problem is that there are almost no limit to how many
templates that _might_ be instantianted by SWIG.
Hence the %template directive.
Ola
>> Ola
>>
>>>>> Garth
>>>>> _______________________________________________
>>>>> DOLFIN-dev mailing list
>>>>> DOLFIN-dev@xxxxxxxxxx
>>>>> http://www.fenics.org/mailman/listinfo/dolfin-dev
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>
--
Ola Skavhaug
Follow ups
References