Import of a mesh in Gambit neutral format (*.neu)
-
Here is function readNEU for an import of a mesh in Gambit neutral format (*.neu).GModelIO_NEU.cpp. The writeNEU is also slightly corrected.
-
GModel.h needs to add function description
int readNEU(const std::string &name);
. -
OpenFile.cpp - to add lines
} else if (ext == ".neu" || ext == ".NEU") {
status=GModel::current()->readNEU(filename);
}
- graphicWindow.cpp - to add line
"Mesh - GAMBIT Neutral File\t*.neu\n"
into static const char *input_formats = ...
Thank you.
Edited by Michael Ermakov