1 // HOMARD HOMARD : implementation of HOMARD idl descriptions
3 // Copyright (C) 2011-2014 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, or (at your option) any later version.
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
22 # ifndef __YACSDRIVER_H__
23 # define __YACSDRIVER_H__
30 class HOMARDIMPL_EXPORT YACSDriver
33 YACSDriver(const std::string XMLFile, const std::string DirName) ;
36 void TexteAdd( const std::string ligne ) ;
37 void Texte_DataInit_MeshFile( const std::string Meshfile ) ;
38 void Texte_Alternance_Calcul_HOMARD_Calcul( const std::string FileName ) ;
39 void Texte_Iter_1_Case_Options( const std::string pythonCas ) ;
40 std::string Texte_Iter_1_Boundary( int BoundaryType, const std::string pythonStructure, const std::string methode, const std::string BoundaryName, const std::string MeshName, const std::string MeshFile ) ;
41 std::string Texte_Iter_1_Zone( int ZoneType, const std::string pythonStructure, const std::string methode, const std::string ZoneName ) ;
42 std::string Texte_Iter_1_control() ;
43 std::string Texte_control( const std::string noeud_1, const std::string noeud_2, int option ) ;
44 std::string Texte_inport( const std::string inport_type, const std::string inport_nom ) ;
45 void Texte_HOMARD_Exec_DirName( ) ;
46 void Texte_HOMARD_Exec_MeshName( const std::string MeshName ) ;
47 void Texte_python_1( const std::string pythonTexte, int indice, const std::string concept ) ;
48 void Texte_python_2( const std::string pythonTexte, const std::string mot_cle, const std::string concept ) ;
49 void TexteParametre( const std::string node, const std::string port, const std::string type_value, const std::string value ) ;
50 void TexteAnalyse_Test_Convergence( int MaxIter, int MaxNode, int MaxElem ) ;
51 void TexteAddParametres( ) ;
56 std::string _XMLFile ;
57 std::string _DirName ;
59 std::string _Texte_parametres ;
60 std::string _noeud_1 ;
64 std::string GetStringInTexte( const std::string Texte, const std::string String, int option ) ;
67 # endif /* # ifndef __YACSDRIVER_H__ */