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

« back to all changes in this revision

Viewing changes to nfem/bin/xfield.cc

  • 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:
391
391
    bool have_input = false;
392
392
    bool def_cut_opt = false;
393
393
    bool def_fill_opt = false;
 
394
    bool use_tmp = false;
394
395
    show_type show = show_none;
395
396
    render_type render = no_render;
396
397
    //
412
413
        else if (strcmp ("-mmg3d",   argv [i]) == 0) { cout << mmg3d; render = file_render; }
413
414
        else if (strcmp ("-gmsh",    argv [i]) == 0) { cout << gmsh; render = file_render; }
414
415
 
 
416
        else if (strcmp ("-tmp",     argv [i]) == 0) { use_tmp=true; }
 
417
 
415
418
        else if (strcmp ("-input-field",   argv [i]) == 0) input_format = input_field;
416
419
        else if (strcmp ("-input-bamg",    argv [i]) == 0) input_format = input_bamg;
417
420
        else if (strcmp ("-input-mmg3d",   argv [i]) == 0) input_format = input_mmg3d;
544
547
        cerr << "field: no input specifield." << endl;
545
548
        usage();
546
549
    }
 
550
    if (use_tmp) { name="/tmp/" + name; cerr << "tmp "<< name; }
547
551
    if (render == no_render) {
548
552
        if (u.dimension() == 1) {
549
553
            cout << gnuplot;