octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dolfin function to octave function


From: c.
Subject: Re: dolfin function to octave function
Date: Thu, 12 Sep 2013 13:46:14 +0200

On 12 Sep 2013, at 13:41, c. <address@hidden> wrote:

> 
> On 12 Sep 2013, at 13:36, marco Vassallo <address@hidden> wrote:
> 
>> for ii = 1:1:numel (time)
>> name = sprintf ("u_%3.3d", ii);
>> delete ([name ".vtu"]);
>> u = Function ('u', V, U(ii,:));
>> save (name, u);
>> endfor
> 
> it's not needed only for saving the solution to a file.
> if it is not possible to evaluate the function at given 
> points it is of no use in octave.
> the ode and fsolv examples also make no sense for function 
> spaces that have non interpolating dofs.
> 
> c.

That is easy to implement as a wrapper to the Function::eval method in dolfin.
c.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]