Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modifications to properly handle parallel compute for 2D
[modules/smesh.git]
/
src
/
SMESH_SWIG
/
SMeshHelper.cxx
diff --git
a/src/SMESH_SWIG/SMeshHelper.cxx
b/src/SMESH_SWIG/SMeshHelper.cxx
index cfa7d7ef8a59a9143c6ab82e8ae355e4534ce479..2bfbdd521485d0a46a7a23da68c6346a1ac3e16d 100644
(file)
--- a/
src/SMESH_SWIG/SMeshHelper.cxx
+++ b/
src/SMESH_SWIG/SMeshHelper.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2021
CEA/DEN, EDF R&D
, OPEN CASCADE
+// Copyright (C) 2021
-2023 CEA, EDF
, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-21,21
+21,11
@@
#include "SALOME_KernelServices.hxx"
#include "SALOME_KernelServices.hxx"
-#include "SMESH_Component_Generator.hxx"
-
#include <cstring>
#include <DriverGMF_Read.hxx>
#include <SMESH_MGLicenseKeyGen.hxx>
#include <cstring>
#include <DriverGMF_Read.hxx>
#include <SMESH_MGLicenseKeyGen.hxx>
-
-std::string BuildSMESHInstanceInternal()
-{
- Engines::EngineComponent_var zeRef = RetrieveSMESHInstance();
- CORBA::String_var ior = KERNEL::getORB()->object_to_string(zeRef);
- return std::string(ior.in());
-}
-
std::string GetMGLicenseKeyImpl(const char* gmfFile)
{
smIdType nbVertex, nbEdge, nbFace, nbVol;
std::string GetMGLicenseKeyImpl(const char* gmfFile)
{
smIdType nbVertex, nbEdge, nbFace, nbVol;
@@
-52,7
+42,7
@@
std::string GetMGLicenseKeyImpl(const char* gmfFile)
errorTxt );
if ( !errorTxt.empty() )
{
errorTxt );
if ( !errorTxt.empty() )
{
- std::cerr << "Error: Pb with MeshGe
n
s license: " << errorTxt << std::endl;
+ std::cerr << "Error: Pb with MeshGe
m
s license: " << errorTxt << std::endl;
key = "<" + errorTxt + ">";
}
return key;
key = "<" + errorTxt + ">";
}
return key;