X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHOMARD%2FHOMARD_Cas.cxx;h=9e23c1ceede2da695f941fb7408ddc7e715444b0;hb=b417e21f963634e1162dc535e85ef6de6454997d;hp=3170ef53fce3d20de7368122843e1e18e1c488e7;hpb=c58ef14437f2e4ef8d539511f6cba8e115e05ed1;p=modules%2Fhomard.git diff --git a/src/HOMARD/HOMARD_Cas.cxx b/src/HOMARD/HOMARD_Cas.cxx index 3170ef53..9e23c1ce 100644 --- a/src/HOMARD/HOMARD_Cas.cxx +++ b/src/HOMARD/HOMARD_Cas.cxx @@ -1,6 +1,6 @@ // HOMARD HOMARD : implementation of HOMARD idl descriptions // -// Copyright (C) 2011-2014 CEA/DEN, EDF R&D +// Copyright (C) 2011-2016 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 @@ -50,7 +50,7 @@ */ //============================================================================= HOMARD_Cas::HOMARD_Cas(): - _Name(""), _NomDir("/tmp"), _ConfType(1) + _Name(""), _NomDir("/tmp"), _ConfType(0), _ExtType(0) { MESSAGE("HOMARD_Cas"); } @@ -82,6 +82,8 @@ std::string HOMARD_Cas::GetDumpPython() const aScript << _NomDir << "\")\n"; aScript << "\t" <<_Name << ".SetConfType("; aScript << _ConfType << ")\n"; + aScript << "\t" <<_Name << ".SetExtType("; + aScript << _ExtType << ")\n"; // Suivi de frontieres std::list::const_iterator it = _ListBoundaryGroup.begin(); while(it != _ListBoundaryGroup.end()) @@ -142,10 +144,13 @@ int HOMARD_Cas::GetNumberofIter() { return _ListIter.size(); } +// +// Le type de conformite ou non conformite +// //============================================================================= void HOMARD_Cas::SetConfType( int Conftype ) { -// VERIFICATION( (Conftype>=1) && (Conftype<=4) ); +// VERIFICATION( (Conftype>=-2) && (Conftype<=3) ); _ConfType = Conftype; } //============================================================================= @@ -154,6 +159,20 @@ const int HOMARD_Cas::GetConfType() const return _ConfType; } // +// Le type exterieur +// +//============================================================================= +void HOMARD_Cas::SetExtType( int ExtType ) +{ +// VERIFICATION( (ExtType>=0) && (ExtType<=2) ); + _ExtType = ExtType; +} +//============================================================================= +const int HOMARD_Cas::GetExtType() const +{ + return _ExtType; +} +// // La boite englobante // //=============================================================================