Exporting to .bdf format without renumbering
Currently the .bdf exporter always renumbers the nodes and elements. This is a problem for example when you want to conserve node and element groups defined in other files. As mentioned by @geuzaine in the users mailing list, the node renumbering could be achieved by replacing:
_index by _num in MVertex::writeBDF()
getVertexBDF(i)->getIndex() by getVertexBDF(i)->getNum() in MElement::writeBDF()
Also the element renumber should be done. Maybe this could be implemented as a command line flag (-renumber
?) to keep both options available.
Edited by Miguel Segade