[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 16:40:20 +0200 |
On 12 Sep 2013, at 15:01, c. <address@hidden> wrote:
>
> On 12 Sep 2013, at 14:17, marco Vassallo <address@hidden> wrote:
>
>> It is implemented in the @function/feval
>> You have to create the function starting from the vector and the
>> FunctionSpace and
>> then you can evaluate it at a given point.
>>
>> Marco
>
> OK, thanks!
>
> Then please change the example that uses fpl export so
> that it uses "feval" to evaluate the solution at element
> centers or vertices in order to make it more general.
>
> If you want, rather than export to vtk which more easily
> done via the "save" method, you could use "msh3m_gmsh_write" [1]
> to write to gmsh format.
>
> c.
>
>
> [1]
> http://sourceforge.net/p/octave/code/12163/tree/trunk/octave-forge/extra/msh/inst/msh3m_gmsh_write.m
Marco,
Plotting the pressure field from the darcy-stokes example consistently fails
with the error:
013-09-12 16:37:27.110 octave-cli[10078:707] invalid drawable
after which Ocave hangs and I am unable to return to prompt.
c.