#include "gm3d.h" int GM3D::OutMshFile(char* filename,string data_name){ if (!strcmp(filename,"NULL")) return 0; ofstream outfile; if (open_outfile(outfile,filename)) return -1; //好啦 我们这里输出的模型类型应该是块体 outfile<<"$MeshFormat"< 0){ outfile<<"$ElementData"<