into triangulations by automatic mesh generators. In order to
use them, it is important to read coarse grids from a file. In
this example, we will read a coarse grid in UCD (unstructured
- cell data) format as used by AVS Explorer.
+ cell data) format. When this program was first written around
+ 2000, UCD format was what the AVS Explorer used -- a program
+ reasonably widely used at the time but now no longer of
+ importance. (Nonetheless, the file format has survived and is
+ still understood by a number of programs.)
<li> Finite element programs usually use extensive amounts of
computing time, so some optimizations are sometimes
necessary. We will show some of them.
/* ---------------------------------------------------------------------
*
- * Copyright (C) 1999 - 2014 by the deal.II authors
+ * Copyright (C) 1999 - 2015 by the deal.II authors
*
* This file is part of the deal.II library.
*
// not to do, after all.
// So if we got past the assertion, we know that dim==2, and we can now
- // actually read the grid. It is in UCD (unstructured cell data) format (but
- // the ending of the <code>UCD</code>-file is <code>inp</code>), as
- // supported as input format by the AVS Explorer (a visualization program),
- // for example:
+ // actually read the grid. It is in UCD (unstructured cell data) format (though
+ // the convention is to use the suffix <code>inp</code> for UCD files):
grid_in.read_ucd (input_file);
- // If you like to use another input format, you have to use an other
+ // If you like to use another input format, you have to use one of the other
// <code>grid_in.read_xxx</code> function. (See the documentation of the
// <code>GridIn</code> class to find out what input formats are presently
// supported.)