Salome HOME
projects
/
modules
/
homard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Suppression de la fonction SetAdapRefinUnRef et création de la fonction SetUnifRefinU...
[modules/homard.git]
/
src
/
HOMARDGUI
/
MonCreateHypothesis.cxx
diff --git
a/src/HOMARDGUI/MonCreateHypothesis.cxx
b/src/HOMARDGUI/MonCreateHypothesis.cxx
index 629dca87f53b4db28e59127c89eea963697b2a22..8b63d9ab557ed6439bbab2f9ece2a5b9ffd8d4a9 100644
(file)
--- a/
src/HOMARDGUI/MonCreateHypothesis.cxx
+++ b/
src/HOMARDGUI/MonCreateHypothesis.cxx
@@
-1,9
+1,9
@@
-// Copyright (C) 2011-201
3
CEA/DEN, EDF R&D
+// Copyright (C) 2011-201
4
CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License
, or (at your option) any later version
.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-165,7
+165,13
@@
bool MonCreateHypothesis::PushOnApply()
}
// Mise en place des attributs
}
// Mise en place des attributs
- aHypothesis->SetAdapRefinUnRef(_aTypeAdap,_aTypeRaff,_aTypeDera);
+ if ( _aTypeAdap == -1 )
+ {
+ int TypeRaffDera ;
+ if ( _aTypeRaff == 1 ) { TypeRaffDera = 1 ; }
+ else { TypeRaffDera = -1 ; }
+ aHypothesis->SetUnifRefinUnRef(TypeRaffDera);
+ }
aHypothesis->SetTypeFieldInterp(_TypeFieldInterp);
aHypothesis->SetCaseCreation(_aCaseName.toStdString().c_str());
aHypothesis->SetTypeFieldInterp(_TypeFieldInterp);
aHypothesis->SetCaseCreation(_aCaseName.toStdString().c_str());