-// Copyright (C) 2004-2020 CEA/DEN, EDF R&D
+// Copyright (C) 2004-2024 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
bool IsLibrary();
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);
LibData* _libData;
std::set<int> _openFiles;
std::string _logFile;
+
+ // count mesh entities for MG license key generation
+ bool _isMesh;
+ int _nbNodes;
+ int _nbEdges;
+ int _nbFaces;
+ int _nbVolumes;
};
#endif