~njansson/dolfin/hpc

« back to all changes in this revision

Viewing changes to misc/utils/convert/dolfin-convert

  • Committer: Anders Logg
  • Date: 2008-05-19 14:45:28 UTC
  • mfrom: (2668.4.3 trunk)
  • mto: (2668.8.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 2670.
  • Revision ID: logg@simula.no-20080519144528-yu63r1268tq6408h
merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
# Modified by Bartosz Sawicki (diffpack function)
12
12
# Modified by Gideon Simpson (Exodus II function)
13
13
# Modified by Arve Knudsen (move logic into module meshconvert)
14
 
# Modified by Kent-Andre Mardal (Star-CD function)
15
14
#
16
15
# Script for converting between various data formats
17
16
 
88
87
  diffpack - Diffpack tetrahedral grid format
89
88
  abaqus   - Abaqus tetrahedral grid format
90
89
  ExodusII - Sandia Format (requires ncdump utility from NetCDF)
91
 
  Star-CD  - Star-CD terahedral grid format
92
90
 
93
91
If --input or --output are not specified, the format will
94
92
be deduced from the suffix:
104
102
  .e    - Exodus II
105
103
  .exo  - Exodus II
106
104
  .ncdf - ncdump'ed Exodus II
107
 
  .vrt and .cell  - starcd 
108
105
"""
109
106
if __name__ == "__main__":
110
107
    main(sys.argv[1:])