[Dune-devel] [Dune-Commit] [Commit] dune-grid - 545f73a: Start working on a backup restore facility in YaspGrid
Oliver Sander
sander at igpm.rwth-aachen.de
Thu Oct 2 14:27:16 CEST 2014
Hi Dominic,
> there is several reasons, that dgf is not suitabel as a backup format:
> - It does not cover all the options that are needed to *fully* restore a
> YaspGrid.
> A small example is the parameter keepPhysicalOverlap (bool).
[snip]
>
> PS: Just read your next mail: Seems like the first point could hold for VTK
> too,
> if Paraview tries to verify the XML schema.
On page 11 of the VTK file format documentation it says:
"XML provides many features as well, especially the ability to extend a file
format with application specific tags."
That sounds to me like you can write YaspGrid-specific stuff into the file,
and ParaView will ignore it as long as the file remains valid XML.
Best,
Oliver
Also, I dont think we want an
> XML
> parser in dune-grid, do we?
>
> On Thu, Oct 2, 2014 at 1:10 PM, Oliver Sander <sander at igpm.rwth-aachen.de>
> wrote:
>
>> Am 02.10.2014 um 13:02 schrieb Dominic Kempf:
>>> Hey Oliver,
>>> Yes, I was writing my very own ascii thing. I mad several assumptions
>> when
>>> thinking about the format:
>>> 1) All grids to be restored were saved through the same facility. For all
>>> other uses, one should consider the dgfparser.
>>> 2) The amount of data to be stored is rather small (even for
>> tensorproduct
>>> grids)
>>> 3) The output should be readable by the human eye.
>>> With these in mind, I decided, that a self-defined self-explanatory ascii
>>> format will be most the most efficient (in the sense of coding time) way
>> to
>>> achieve it. If you provide good reasons for a more standard format, I
>> could
>>> reconsider though.
>>
>> Hi Dominic,
>> I have no compelling reason for your use case, I am simply not a fan of
>> reinventing
>> yet another file format. Earlier this week I wrote VTK file reading for
>> an application
>> of mine, and that was simple and pretty using tinyxml2.
>> If you think that "for all other uses, one should consider the dgfparser",
>> how about using the dgf format for backup/restore right away?
>>
>> Best,
>> Oliver
>>
>>
>>> Best,
>>> Dominic
>>>
>>> On Thu, Oct 2, 2014 at 12:52 PM, Oliver Sander <
>> sander at igpm.rwth-aachen.de>
>>> wrote:
>>>
>>>> Hi Dominic,
>>>> great you're working on the restoring facility. From browsing the
>> commit
>>>> logs it seems like
>>>> you are inventing a new ascii format. Did you consider something
>>>> standard, like XML or similar?
>>>> Thanks,
>>>> Oliver
>>>>
>>>>
>>>> _______________________________________________
>>>> Dune-devel mailing list
>>>> Dune-devel at dune-project.org
>>>> http://lists.dune-project.org/mailman/listinfo/dune-devel
>>>>
>>>>
>>>
>>
>>
>>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20141002/28bb4289/attachment.sig>
More information about the Dune-devel
mailing list