← Back to team overview

dolfin team mailing list archive

Re: MeshFunction write and read problems

 

I think this one is resolved.

Ola

On Tue, Sep 8, 2009 at 11:22 PM, Anders Logg<logg@xxxxxxxxx> wrote:
> On Wed, Jul 29, 2009 at 04:28:56PM -0600, Bartosz Sawicki wrote:
>> I've realized that if MeshFunction is not properly read if mesh
>> contains also MeshData with MeshFunctions. I'm afraid that there is
>> a small bug in the XML parser. Attached code demonstrates this
>> problem.
>>
>> Another MeshFunction issue is that current XML IO can't save bool
>> types. Is it intentional, or do you plan to extend interface?
>> Few months ago MeshFuction<bool> could be saved, so that's why I'm asking.
>>
>> The last question regards MeshFunction (const Mesh &mesh, const
>> std::string filename) costructor. Currently MeshFunction is saved
>> with Mesh, so why the constructor needs mesh object? I think it
>> should be read from the same file where the MeshFunction is.
>>
>> regrds.
>
> Is this still an issue? If so, please add a bug report (or perhaps
> split it into several) on Launchpad so we can keep track of it.
>
> --
> Anders
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkqmyysACgkQTuwUCDsYZdEPWwCfVd1i0NamCsqyaGiDzwjsrT4t
> KGUAoJPrnWqtSC0Q3Ky+eEycG8GVS6I7
> =CjLm
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
>
>



-- 
Ola Skavhaug


References