dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #24364
Re: XML I/O
-
To:
Anders Logg <logg@xxxxxxxxx>
-
From:
"Garth N. Wells" <gnw20@xxxxxxxxx>
-
Date:
Fri, 02 Sep 2011 10:04:22 -0700
-
Cc:
DOLFIN Mailing List <dolfin@xxxxxxxxxxxxxxxxxxx>
-
In-reply-to:
<20110902123826.GM2347@smaug>
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Thunderbird/3.1.13
On 02/09/11 05:38, Anders Logg wrote:
> On Fri, Sep 02, 2011 at 01:29:35PM +0200, Anders Logg wrote:
>> There seems to be some inconsistencies in how XML I/O is implemented
>> for nested data. For example, output for MeshFunction as part of
>> MeshData as part of Mesh is implemented inside XMLMesh.cpp. Shouldn't
>> it be implemented as part of MeshFunction so that we redirect from
>> XMLMesh.cpp to XMLMeshData.cpp to XMLMeshFunction.cpp?
>
> Correction: XMLMesh.cpp should call XMLMeshFunction.cpp directly and
> there should not be a file named XMLMeshData.cpp since MeshData should
> always be associated with a Mesh, wherease MeshFunction and
> MeshMarkers can be used separately and have their own XML files.
>
> But it still looks like some functionality for XML I/O of MeshFunction
> is repeated in XMLMesh.cpp.
>
Whatever is simplest.
Garth
> --
> Anders
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help : https://help.launchpad.net/ListHelp
References