#1056 New writer for ALUGrid-format files
Metadata
Property | Value |
---|---|
Reported by | Jö Fahlke (jorrit@jorrit.de) |
Reported at | Mar 24, 2012 17:01 |
Type | Feature Request |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Description
I have here some code to write any tetrahedral mesh in ALUGrid format. The user can specify a partitioning to produce a collection of ALUGrid files which can be used by ALUGrid as a pre-partitioned mesh.
Current limitations are the restriction to tetrahedra, the source mesh must be serial, and writing an ALUGrid and reading it back in will probably lead to a different numbering.
Advantages over ALUGrid's built-in write() method are that it works with any gridview, even non-ALUGrid, and that the user can specify a partitioning.
Attached are two patches: the first is the writer itself, the second is a program that partitions the unit cube and write it a a collection of ALUGrid files. The program should be seen as a proof of concept and is not supposed to end up in dune-grid in its current form.
I'd like your comments, please, especially from Robert :)