Fix extra space in the boundary condition for GAMBIT Neutural format
Hi,
I am using gmsh to generate mesh for FLUENT and got trouble when exporting mesh to GAMBIT Neutural file format (.neu).
The generated neu file has extra space in the boundary condition and FLUENT cannot recognize it.
In https://gitlab.onelab.info/gmsh/gmsh/-/blame/master/src/geo/GModelIO_NEU.cpp#L389
fprintf(fp, "%10d %5d %5d\n", tfp->first - lowestId, gambit_type,
tfp->second);
The second and third value has 5 width plus one space between values. In the GAMBIT Neutural file format (see https://web.stanford.edu/class/me469b/handouts/gambit_write.pdf) there are no extra space between values. That is, the output format should be:
fprintf(fp, "%10d%5d%5d\n", tfp->first - lowestId, gambit_type,
tfp->second);
Can you fix this trouble? Thanks.