From: schrage Date: Wed, 14 Jul 1999 15:18:08 +0000 (+0000) Subject: Finished. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7919d2e190108e4997ff0ccf9e4944c543bb338;p=dealii-svn.git Finished. git-svn-id: https://svn.dealii.org/trunk@1575 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/doc/tutorial/chapter-1.elements/output.html b/deal.II/doc/tutorial/chapter-1.elements/output.html index 57c8b8d837..730306fc4b 100644 --- a/deal.II/doc/tutorial/chapter-1.elements/output.html +++ b/deal.II/doc/tutorial/chapter-1.elements/output.html @@ -58,6 +58,7 @@ in depth: +

Graphics Formats

@@ -106,6 +107,114 @@ The graphics formats available in GridOut are: +
+
+ +

Parameters for grid and data output

+ +

For each and every output format there is a class containing the +parameters that determine how the output will look. All these classes +have a sensible set of default parameters; you will only have +to bother about setting parameters yourself if your desires are +rather special. We shall commence with a brief description of +these classes and the most important parameters you can set. +

+ + +

UcdFlags

+ +

+This class provides the settings for ucd output. The values in brackets +denote the default values. +

+ + +

GnuplotFlags

+ +

+This class provides the settings for gnuplot output. At present it +is empty. +

+ +

EpsFlags

+ +

+This class provides the settings for EPS output. The values in brackets +denote the default values. +

+ + + +

PovrayFlags

+

+This class provides the settings for PoVRay output. At present it +is empty. +

+ +

GmvFlags

+

+This class provides the settings for General Mesh Viewer output. At present it +is empty. +

+

@@ -200,9 +309,9 @@ to a file if you want to use the data later on. 6. Write your data to this ofstream. The second parameter denotes the - output format to be used. It must be one of ucd, gnuplot, + output format to be used. It must be one of { ucd, gnuplot, gnuplot_draft, - povray_mesh, eps, epsgrid, gmv. + povray_mesh, eps, gmv }. void DataOut<dim>::write(ostream &out, const OutputFormat output_format) @@ -235,7 +344,8 @@ It is possible to give cell data.

In order to write your data in ucd format you need to follow the -steps described above. +steps described in the section on the usage of +DataOut. The data is written using void write(ostream &out,"ucd").

@@ -339,7 +449,8 @@ if there are any.

In order to write your data in gnuplot format you need to follow the -steps described above. +steps described in the section on the usage of +DataOut. The data is written using

+

Encapsulated Postscript (EPS)

+ +

EPS output of deal.II data consists of the grid +and the cells. The cells can be left empty, printed white (which leads +to hidden-line removal) or colorized using a data vector. This format +does not support gradient shading, i.e. each cell has one color which +is taken from the value of the data in its centre. Coordinates +have at most five digits, and the EPS files do not have an explicit +bounding box, i.e. the bonding box is close to the graphics on +all four sides. EPS output can only be used for two-dimensional +data. +

+ +

EPS otput is performed by calling
+void DataOut<dim>::write_eps(ostream &out) +

+ + +

PoVRay output

+ +

+PoVRay is a most comprehensive raytracer freely available at +http://www.povray.org. +This is also the place to start looking for more information +on its features. +

+ +

PoVRay output is accomplished by calling
+DataOut<dim>::write_povray(ostream &out)
+At present there is no more information available on PoVRay output +in deal.II. +

+ + +

General Mesh Viewer (gmv) output

+ +

+The General Mesh Viewer can display data in both 2D, 3D and cuts through +data sets. More information on the gmv is available at + +http://www-xdiv.lanl.gov/XCM/gmv/GMVHome.html +At present the gmv cannot output postscript or EPS data. +

+ +

+gmv output is accomplished by calling
+void DataOut<dim>::write_gmv(ostream &out)
+There is no more information available on the output format. +

+

@@ -381,7 +542,7 @@ to which parameters can be passed.

- + @@ -421,7 +582,7 @@ to which parameters can be passed.
Usage of the GridOut class with the default parametersUsage of the GridOut class with the default parameters
Step
- + @@ -480,10 +641,12 @@ to which parameters can be passed.
Usage of the GridOut class with new parametersUsage of the GridOut class with new parameters
Step
+
+

GridOut data formats

-

ucd data format

+

Unstructured Cell Data (ucd)

The ucd data format is described in the AVS developer's guide. There @@ -510,6 +673,33 @@ simpler method for writing ucd-files.

Gnuplot data format

+Gnuplot output is performed by calling
+void write_gnuplot (const Triangulation<dim> &tria, +ostream &out)
+It is controlled by the class GnuplotFlags. +

+ +

+In Gnuplot format the boundaries of each cell +are written as a sequence of lines to your output stream. +Output can be modified by the following flags: +

+ +

+Contrary to, e.g., EPS, you do not need to set a viewpoint.

Encapsulated Postscript