octave-maintainers
[Top][All Lists]
Advanced

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

Re: FEM pkg and classes


From: c.
Subject: Re: FEM pkg and classes
Date: Fri, 28 Jun 2013 17:18:41 +0200

On 28 Jun 2013, at 16:41, Marco Vassallo <address@hidden> wrote:

>  msho = msh2m_structured_mesh (x, y, 1, [ 1 1 2 2 ]) 
>  mshd = dolfin_mesh (); 

this does not make sense, you need to mass the octave mesh structure to the 
dolfin mesh constructor (or a file name to read from). i.e.:


 msho = msh2m_structured_mesh (x, y, 1, [ 1 1 2 2 ]) 
 mshd = dolfin_mesh (msho); # create a dolfin Mesh object by converting an 
octave struct

or

 mshd = dolfin_mesh ("mesh_file.xml.gz"); # create a dolfin Mesh object by 
reading a dolfin xml file

HTH,
c.

reply via email to

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