Integer widths of the writable formats
Generated by tools/gen_id_widths_table.py from tests/python/id_widths_spec.py; do not edit by hand.
Every writable format is given one mesh, with an int64 point array and an int64 cell array whose values are 2**31 + 5 and up (a node or cell tag above what a 32-bit integer holds), and the table says what came back. The mesh uses the cell types the format's row of the conformance matrix declares.
- exact the same integers came back, as the dtype named.
- double the format stores the values as floating point and they came back equal.
- single (exact) the format stores single-precision floats and these particular values survived.
- rounded the format stores floating point with limited precision (single precision, or a few significant digits of text), so the values came back close but not equal; integers above 2**24 are not exact in it, which is the format's own limit. Writing such an array to one of these formats (
cae,ensight,frd,gid,gltf,marc_t19,radioss_anim,xplt) warns once per array, in both engines. - dropped the format does not carry that array.
- error the writer refuses the mesh and its message names the format.
- not observed an optional library the writer needs is not installed in the environment that generated the page.
A value that comes back as a different integer is a silent narrowing and is a defect: no row below says it, and tests/python/test_id_widths.py fails if one does.
| Format | Point array | Cell array |
|---|---|---|
3mf | dropped | dropped |
abaqus | dropped | dropped |
abaqus_fil | dropped | dropped |
adcirc | dropped | dropped |
ansys | dropped | dropped |
ansysInp | dropped | dropped |
ansys_rst | dropped | dropped |
avsucd | double | dropped |
cad_json | dropped | dropped |
cae | dropped | rounded |
cgns | double | dropped |
code_aster | dropped | dropped |
dex | double | dropped |
dolfin-xml | exact int64 | exact int64 |
dxf | dropped | dropped |
elmer | dropped | dropped |
ensight | rounded | rounded |
exodus | exact int64 | exact int64 |
febio | double | double |
femap | double | double |
flac3d | dropped | dropped |
flux | dropped | dropped |
frd | rounded | dropped |
freefem | dropped | dropped |
freesurfer | dropped | dropped |
gid | rounded | rounded |
gifti | error (WriteError) | error (WriteError) |
gltf | rounded | dropped |
gmsh | double | double |
gmsh22 | double | double |
h5m | exact int64 | dropped |
hmf | exact int64 | exact int64 |
ip | double | dropped |
las | dropped | dropped |
libmesh | dropped | dropped |
lsdyna | dropped | dropped |
lsdyna_binout | error (WriteError) | error (WriteError) |
lsdyna_d3plot | dropped | dropped |
marc | dropped | dropped |
marc_t19 | rounded | rounded |
mdpa | double | dropped |
med | exact int64 | exact int64 |
medit | dropped | dropped |
medit_sol | error (WriteError) | error (WriteError) |
mfem | dropped | dropped |
mff | dropped | dropped |
mfm | error (WriteError) | error (WriteError) |
mphbin | dropped | dropped |
mphtxt | dropped | dropped |
nastran | dropped | dropped |
nastran_h5 | double | dropped |
nastran_op2 | dropped | dropped |
netgen | error (WriteError) | error (WriteError) |
neuroglancer | dropped | dropped |
obj | dropped | dropped |
off | dropped | dropped |
openfoam | double | double |
patran | dropped | dropped |
pcd | exact int64 | dropped |
permas | dropped | dropped |
ply | exact int64 | dropped |
pmsh | exact int64 | exact int64 |
pvd | exact int64 | exact int64 |
pvtp | exact int64 | exact int64 |
pvtu | exact int64 | exact int64 |
radioss | dropped | dropped |
radioss_anim | rounded | rounded |
radioss_th | dropped | dropped |
selafin | error (WriteError) | error (WriteError) |
step | not observed | not observed |
stl | dropped | dropped |
su2 | dropped | dropped |
svg | dropped | dropped |
szplt | not observed | not observed |
tecplot | double | double |
tetgen | dropped | dropped |
tikz | dropped | dropped |
triangle | dropped | dropped |
ugrid | dropped | dropped |
ugrid_nc | exact int64 | exact int64 |
unv | double | double |
usd | not observed | not observed |
vtk | exact int64 | exact int64 |
vtk42 | exact int64 | exact int64 |
vtk51 | exact int64 | exact int64 |
vtkhdf | exact int64 | exact int64 |
vtm | exact int64 | exact int64 |
vtp | exact int64 | exact int64 |
vtu | exact int64 | exact int64 |
vtx | not observed | not observed |
wkt | dropped | dropped |
xdmf | exact int64 | exact int64 |
xplt | rounded | rounded |
xyz | double | dropped |
z88 | dropped | dropped |
zarr | not observed | not observed |
Node and element ids
The ids a format stores for its nodes and elements, for the formats that take them through a data key of the mesh model (tests/python/id_widths_spec.py, ID_KEYS): the same probe with one distinct id of 2**31 + 5 and up per node and per cell, set as abaqus:id, global:node_id/global:cell_id, libmesh:id, mdpa:id, med:num or radioss:node_id/radioss:element_id. A format that is not listed renumbers its entities or takes ids only through its own numbering; its width is stated on its page instead: CGNS writes I4 connectivity while the point count fits int32 and I8 after, Exodus has an int64 mode, and Gmsh 4.1 stores tags as size_t.
| Format | Point ids | Cell ids |
|---|---|---|
abaqus | dropped | dropped |
abaqus_fil | exact int64 | exact int64 |
exodus | exact int64 | exact int64 |
libmesh | error (WriteError) | error (WriteError) |
mdpa | exact int64 | dropped |
med | exact int64 | exact int64 |
radioss_anim | error (WriteError) | error (WriteError) |