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_Boundary.hxx
25 // Author : Paul RASCLE, EDF
28 #ifndef _HOMARD_Boundary_HXX_
29 #define _HOMARD_Boundary_HXX_
41 void SetName( const char* NomBoundary );
42 std::string GetName() const;
43 std::string GetDumpPython() const;
45 void SetLimit( double X0, double X1, double X2 );
46 std::vector<double> GetLimit() const;
48 void SetMeshFile( const char* MeshFile );
49 std::string GetMeshFile() const;
51 void SetMeshName( const char* MeshName );
52 std::string GetMeshName() const;
54 void SetCylinder( double X0, double X1, double X2, double X3,
55 double X4, double X5, double X6 );
56 std::vector<double> GetCylinder() const;
58 void SetSphere( double X0, double X1, double X2, double X3 );
59 std::vector<double> GetSphere() const;
61 void SetBoundaryType( int BoundaryType );
62 int GetBoundaryType() const;
64 std::string GetCaseCreation() const;
65 void SetCaseCreation( const char* NomCasCreation );
67 void AddGroup( const char* LeGroupe);
68 void SetGroups(const std::list<std::string>& ListGroup );
69 const std::list<std::string>& GetGroups() const;
72 std::string _NomBoundary;
73 std::string _NomCasCreation;
74 std::string _MeshFile;
75 std::string _MeshName;
77 double _Xmin, _Xmax, _Ymin, _Ymax, _Zmin, _Zmax;
78 double _Xaxe, _Yaxe, _Zaxe;
79 double _Xcentre, _Ycentre, _Zcentre, _rayon;
80 double _Xincr, _Yincr, _Zincr;
82 std::list<std::string> _ListGroupSelected;