~ubuntu-branches/ubuntu/trusty/rheolef/trusty

« back to all changes in this revision

Viewing changes to util/lib/iorheo.h

  • Committer: Package Import Robot
  • Author(s): Pierre Saramito
  • Date: 2012-04-06 09:12:21 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20120406091221-m58me99p1nxqui49
Tags: 6.0-1
* New upstream release 6.0 (major changes):
  - massively distributed and parallel support
  - full FEM characteristic method (Lagrange-Gakerkin method) support
  - enhanced users documentation 
  - source code supports g++-4.7 (closes: #667356)
* debian/control: dependencies for MPI distributed solvers added
* debian/rules: build commands simplified
* debian/librheolef-dev.install: man1/* to man9/* added
* debian/changelog: package description rewritted (closes: #661689)

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
namespace rheolef { 
27
27
/*Class:iorheo
28
28
NAME: @code{iorheo} - input and output functions and manipulation 
 
29
@cindex graphic render
29
30
@clindex iorheo
30
31
@clindex csr
31
32
@clindex geo
47
48
@toindex @code{vtk}
48
49
@toindex @code{geomview}
49
50
@toindex @code{PlotM}
50
 
EXAMPLE:
 
51
SMALL PIECES OF CODE:
51
52
    input geo in standard file format:
52
53
    @example
53
54
        cin >> g;
147
148
@fiindex @file{.face} tetgen mesh boundary faces
148
149
@fiindex @file{.v} grummp tridimensionnal mesh
149
150
@fiindex @file{.m} grummp bidimensionnal mesh
150
 
@fiindex @file{.msh} gmsh mesh
 
151
@fiindex @file{.gmsh} gmsh mesh
 
152
@fiindex @file{.gmsh_pos} gmsh metric mesh
151
153
@fiindex @file{.hb} Harwell-Boeing matrix
152
154
@fiindex @file{.geo} mesh
153
155
@fiindex @file{.field} field
190
192
        uses @file{.mmg3d} Cecile Dobrzynski's tridimensional anisotropic
191
193
        mesh generator file format for geo input/output operation. 
192
194
    @itemx gmsh
193
 
        uses @file{.msh} 
 
195
        uses @file{.gmsh} 
194
196
        gmsh Christophe Geuzaine and Jean-François Remacle 
195
197
        mesh generator file format for geo input/output operation. 
 
198
    @itemx gmsh_pos
 
199
        uses @file{.gmsh_pos} 
 
200
        gmsh Christophe Geuzaine and Jean-François Remacle 
 
201
        mesh metric file format for geo adapt input/output operation. 
196
202
    @itemx grummp
197
203
        uses @file{.m} (bidimensional) or @file{.v} (tridimensionnal)
198
204
        Carl Ollivier-Gooch 's mesh generator file format for geo input/output
303
309
        cout << velocity << plotmtv << vectorscale(0.1) << uh;
304
310
    @end example
305
311
@clindex catchmark
306
 
    See also @ref{catchmark class} for input-output of vector-valued fields.
 
312
    See also @ref{catchmark algorithm} for input-output of vector-valued fields.
307
313
    @table @code
308
314
    @itemx isovalue @var{float}
309
315
    @itemx n_isovalue @var{int}
310
316
    @itemx n_isovalue_negative @var{int}
311
317
    @itemx vectorscale @var{float}
312
318
    @itemx subdivide @var{float}
 
319
@cindex image file format
 
320
@cindex graphic render
 
321
@fiindex @file{.png} image 
 
322
@fiindex @file{.jpg} image
 
323
@fiindex @file{.pdf} image
 
324
    @itemx image_format @var{string}
 
325
        The argument is any valid image format, such as @code{png}, @code{jpg} or @code{pdf},
 
326
        that could be handled by the corresponding graphic render.
313
327
    @end table
314
328
End:*/
315
329
 
331
345
 
332
346
                transpose,                      // avoid hb-matrix(csc) to/in csr conversion: 
333
347
                                                // thus, handle the transposed matrix
 
348
                upgrade,                        // rheolef upgrade file format version
334
349
 
335
350
                // color plot options
336
351
 
349
364
                dump,                           // Dump format (debug)
350
365
 
351
366
                bamg,                           // bamg F. hecht mesh & metric format
 
367
                peschetola,                     // Custom meshes by Valentina Peschetola
352
368
                grummp,                         // grummp mesh file format
353
 
                gmsh,                           // gmsh mesh & metric file format
 
369
                gmsh,                           // gmsh mesh file format
 
370
                gmsh_pos,                       // gmsh metric mesh file format
354
371
                mmg3d,                          // mmg3d mesh format
355
372
                tetgen,                         // tetgen mesh format
356
373
                qmg,                            // qmg mesh file format
392
409
                lattice,                        // subdivide each element by two, as in P2-iso-P1, for geo/vtkdata format
393
410
                label,                          // write labels on plotmtv contour lines
394
411
                autovscale,                     // adapt vscale to actual length of vectors and meshsize
 
412
                reader_on_stdin,                // when read on stdin, add -persist to gnuplot
395
413
 
396
414
                last
397
415
        };