const SMESHDS_Mesh* theMeshDS)
{
int meshID = theHexaInput->GmfOpenMesh( theFile, GmfWrite, GMFVERSION, GMFDIMENSION);
-
+ theHexaInput->SetIsInputMesh( true ); // it's a mesh file
+
// nodes
int iN = 0;
smIdType nbNodes = theMeshDS->NbNodes();
mgInput->GmfOpenMesh( myVerticesFile.c_str(), GmfWrite, GMFVERSION, GMFDIMENSION );
int solFileID =
mgInput->GmfOpenMesh( mySolFile.c_str(), GmfWrite, GMFVERSION, GMFDIMENSION );
+
+ mgInput->SetIsInputMesh( false ); // they are not mesh files
int pointsNumber = points.size();
bool IsExecutable() { return !IsLibrary(); }
void SetUseExecutable();
void SetInputFile( const std::string mesh2DFile );
+ void SetIsInputMesh(bool isMeshIn) { _isMesh = isMeshIn; }
// IN to MESHGEMS
int GmfOpenMesh(const char* theFile, int rdOrWr, int ver, int dim);