1 // HOMARD HOMARD : implementaion of HOMARD idl descriptions
3 // Copyright (C) 2011-2012 CEA/DEN, EDF R&D
5 // This library is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU Lesser General Public
7 // License as published by the Free Software Foundation; either
8 // version 2.1 of the License.
10 // This library is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 // Lesser General Public License for more details.
15 // You should have received a copy of the GNU Lesser General Public
16 // License along with this library; if not, write to the Free Software
17 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 // File : HOMARD_Boundary.hxx
22 // Author : Paul RASCLE, EDF
25 #ifndef _HOMARD_Boundary_HXX_
26 #define _HOMARD_Boundary_HXX_
38 void SetName( const char* NomBoundary );
39 std::string GetName() const;
40 std::string GetDumpPython() const;
42 void SetLimit( double X0, double X1, double X2 );
43 std::vector<double> GetLimit() const;
45 void SetMeshFile( const char* MeshFile );
46 std::string GetMeshFile() const;
48 void SetMeshName( const char* MeshName );
49 std::string GetMeshName() const;
51 void SetCylinder( double X0, double X1, double X2, double X3,
52 double X4, double X5, double X6 );
53 void SetSphere( double X0, double X1, double X2, double X3 );
54 std::vector<double> GetCoords() const;
56 void SetBoundaryType( int BoundaryType );
57 int GetBoundaryType() const;
59 std::string GetCaseCreation() const;
60 void SetCaseCreation( const char* NomCasCreation );
62 void AddGroup( const char* LeGroupe);
63 void SetGroups(const std::list<std::string>& ListGroup );
64 const std::list<std::string>& GetGroups() const;
67 std::string _NomBoundary;
68 std::string _NomCasCreation;
69 std::string _MeshFile;
70 std::string _MeshName;
72 double _Xmin, _Xmax, _Ymin, _Ymax, _Zmin, _Zmax;
73 double _Xaxe, _Yaxe, _Zaxe;
74 double _Xcentre, _Ycentre, _Zcentre, _rayon;
75 double _Xincr, _Yincr, _Zincr;
77 std::list<std::string> _ListGroupSelected;