1 // HOMARD HOMARD : implementaion of HOMARD idl descriptions
3 // Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 // See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
24 // File : HOMARD_Hypothesis.hxx
25 // Author : Paul RASCLE, EDF
28 #ifndef _HOMARD_HYPOTHESIS_HXX_
29 #define _HOMARD_HYPOTHESIS_HXX_
34 class HOMARD_Hypothesis
40 void SetName( const char* NomHypo );
41 std::string GetName() const;
42 void SetCaseCreation( const char* NomCasCreation );
43 std::string GetCaseCreation() const;
44 std::string GetDumpPython() const;
46 void SetAdapType( int TypeAdap );
47 int GetAdapType() const;
49 void SetRefinTypeDera( int TypeRaff, int TypeDera );
50 int GetRefinType() const;
51 int GetUnRefType() const;
53 void SetField( const char* FieldName );
54 void SetRefinThr( int TypeThR, double ThreshR );
55 void SetUnRefThr( int TypeThC, double ThreshC );
56 void SetUseComp( int UsCmpI );
57 void SetUseField( int UsField );
58 std::string GetFieldName() const;
59 int GetRefinThrType() const;
60 double GetThreshR() const;
61 int GetUnRefThrType() const;
62 double GetThreshC() const;
63 int GetUseCompI() const;
65 void AddComp( const char* NomComposant );
67 const std::list<std::string>& GetListComp() const;
69 void AddIteration( const char* NomIter );
70 void SupprIterations();
71 const std::list<std::string>& GetIterations() const;
73 void AddZone( const char* NomZone );
74 void SupprZone( const char* NomZone );
76 const std::list<std::string>& GetZones() const;
78 void AddGroup( const char* LeGroupe);
79 void SetGroups(const std::list<std::string>& ListGroup );
80 const std::list<std::string>& GetGroups() const;
82 void SetTypeFieldInterp( int TypeFieldInterp );
83 int GetTypeFieldInterp() const;
84 void AddFieldInterp( const char* FieldInterp );
85 void SupprFieldInterp();
86 const std::list<std::string>& GetListFieldInterp() const;
93 std::string _NomCasCreation;
95 int _TypeAdap; // -1 pour une adapation Uniforme,
96 // 0 si l adaptation depend des zones,
108 int _TypeFieldInterp; // 0 pour aucune interpolation,
109 // 1 pour interpolation de tous les champs,
112 std::list<std::string> _ListIter;
113 std::list<std::string> _ListZone;
114 std::list<std::string> _ListComposant;
115 std::list<std::string> _ListGroupSelected;
116 std::list<std::string> _ListFieldInterp;