dune-grid  2.2.0
Functions
dgf2dgf.cc File Reference

a small program converting a DGF file into a DGF file More...

Functions

int main (int argc, char *argv[])

Detailed Description

a small program converting a DGF file into a DGF file

Author:
Matrin Nolte dgf2dgf is a small example program for the DGFWriter. It reads a DGF file into any grid (selected by dgfgridtype.hh), 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:

The source code of this program also demonstrates the easy use of the DGF parser and the DGFWriter.


Function Documentation

int main ( int  argc,
char *  argv[] 
)