On Fri, 1 Feb 2019, Brandon Denton wrote:

> I'm currently working through a mesh converter from FEMAP to .xda. Is there
> a primer for the .xda file format?

I'm afraid it's even worse than "no primer"; the XDA format changes
without notice.  We never really conceived of it as a stable
"standard", just something that could let our users save files without
trashing data (p refinement levels, exotic FE types, whatever) that
might not be supported in pre-existing standards.  We add new data
every couple years: nodeset/BC/subdomain names and element unique_id
values in 0.9.2, node unique_id values in 0.9.6, edge and shellface
BCs in 1.1.0, more complicated field width encoding in 0.9.2 and again
in 1.3.0... and we don't even bother adding write options for old
formats, just backwards compatible reads via version string.

Honestly the easiest way to write a mesh converter would probably be
to write a libMesh MeshInput subclass and use our meshtool app.  If
you need something standalone, I'm sorry but the only authoritative
source on the format is src/mesh/xdr_io.C
---
Roy


_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to