Dune Core Modules (2.9.0)
dgf2dgf.cc File Reference
a small program converting a DGF file into a DGF file More...
Detailed Description
a small program converting a DGF file into a DGF file
dgf2dgf is a small example program for the DGFWriter. It reads a DGF file into any grid, optionally refining the grid globally. The leaf grid is then written back as a DGF file.
The program's usage is as follows:
./dgf2dgf <dgffile> [refinement level]
While the program may seem completely useless, it has the following usages:
- Convert an interval block into a simplex or cube grid (depending on the grid implementation used).
- Resolve the simplex generator block into a vertex and a simplex block, so that it can be used without triangle or tetgen.
- Construct a refined macro grid, which is very useful when setting up parallel computations with dune-ALUGrid.
The source code of this program also demonstrates the easy use of the DGF parser and the DGFWriter.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 21, 23:30, 2024)