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
[bos #40653][CEA] New mesh import export formats with meshio.
[modules/smesh.git]
/
src
/
MEDWrapper
/
MED_Factory.cxx
diff --git
a/src/MEDWrapper/MED_Factory.cxx
b/src/MEDWrapper/MED_Factory.cxx
index 7d03749e6fe53c9854ce4e04395cf0901813cf18..093511810167504b3eccdfb160a530932058577e 100644
(file)
--- a/
src/MEDWrapper/MED_Factory.cxx
+++ b/
src/MEDWrapper/MED_Factory.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-202
1 CEA/DEN, EDF R&D
, OPEN CASCADE
+// Copyright (C) 2007-202
4 CEA, EDF
, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-197,12
+197,12
@@
namespace MED
med_int wantedMajor = MED_MAJOR_NUM;
med_int wantedMinor = MED_MINOR_NUM;
// when non managed version of file is requested : ignore it and take the latest version
med_int wantedMajor = MED_MAJOR_NUM;
med_int wantedMinor = MED_MINOR_NUM;
// when non managed version of file is requested : ignore it and take the latest version
- std::vector<int> versionsOK
(GetMEDVersionsAppendCompatible()
);
- bool
isVersionRequestedOK(std::find(versionsOK.begin(),versionsOK.end(),theVersion)!=versionsOK.end()
);
+ std::vector<int> versionsOK
= GetMEDVersionsAppendCompatible(
);
+ bool
isVersionRequestedOK = std::find(versionsOK.begin(),versionsOK.end(),theVersion)!=versionsOK.end(
);
if (isCreated && isVersionRequestedOK)
{
if (isCreated && isVersionRequestedOK)
{
- wantedMajor = theVersion
/
10;
- wantedMinor = theVersion
%
10;
+ wantedMajor = theVersion
/
10;
+ wantedMinor = theVersion
%
10;
}
return new MED::TWrapper(fileName, true, tfileInst, wantedMajor, wantedMinor);
}
}
return new MED::TWrapper(fileName, true, tfileInst, wantedMajor, wantedMinor);
}