]> SALOME platform Git repositories - modules/homard.git/blobdiff - src/HOMARD/YACSDriver.hxx
Salome HOME
Merge branch 'V9_13_BR'
[modules/homard.git] / src / HOMARD / YACSDriver.hxx
index b95cf1ffebd061f938f3adbc6358ef2e37f6044a..fed6e1186abd4f7758e5982fd88b9b9f84292040 100644 (file)
@@ -1,11 +1,11 @@
 //  HOMARD HOMARD : implementation of HOMARD idl descriptions
 //
-// Copyright (C) 2011-2013  CEA/DEN, EDF R&D
+// Copyright (C) 2011-2024  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 # ifndef __YACSDRIVER_H__
 # define __YACSDRIVER_H__
 
+#include "HOMARD.hxx"
+
 #include <iostream>
 #include <fstream>
 
-class YACSDriver
+class HOMARDIMPL_EXPORT YACSDriver
 {
 public:
-  YACSDriver(const std::string YACSFile, const std::string DirName) ;
+  YACSDriver(const std::string XMLFile, const std::string DirName, const std::string LangueShort) ;
   ~YACSDriver() ;
   //
   void        TexteAdd( const std::string ligne ) ;
   void        Texte_DataInit_MeshFile( const std::string Meshfile ) ;
   void        Texte_Alternance_Calcul_HOMARD_Calcul( const std::string FileName ) ;
-  void        Texte_HOMARD_Init_au_debut_Case_Options( const std::string pythonCas ) ;
-  std::string Texte_HOMARD_Init_au_debut_Zone( int ZoneType, const std::string pythonZone, const std::string methode, const std::string ZoneName, const std::string noeud_1 ) ;
-  std::string Texte_HOMARD_Init_au_debut_control() ;
-  std::string Texte_control( const std::string noeud_1, const std::string noeud_2 ) ;
+  void        Texte_Iter_1_Case_Options( const std::string pythonCas ) ;
+  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 ) ;
+  std::string Texte_Iter_1_Zone( int ZoneType, const std::string pythonStructure, const std::string methode, const std::string ZoneName ) ;
+  std::string Texte_Iter_1_control() ;
+  std::string Texte_control( const std::string noeud_1, const std::string noeud_2, int option ) ;
   std::string Texte_inport( const std::string inport_type, const std::string inport_nom ) ;
   void        Texte_HOMARD_Exec_DirName( ) ;
-  void        Texte_python( const std::string pythonTexte, int indice, const std::string concept ) ;
+  void        Texte_HOMARD_Exec_MeshName( const std::string MeshName ) ;
+  void        Texte_python_1( const std::string pythonTexte, int indice, const std::string concept ) ;
+  void        Texte_python_2( const std::string pythonTexte, const std::string mot_cle, const std::string concept ) ;
   void        TexteParametre( const std::string node, const std::string port, const std::string type_value, const std::string value ) ;
+  void        TexteAnalyse_Test_Convergence( int MaxIter, int MaxNode, int MaxElem ) ;
   void        TexteAddParametres( ) ;
   void        CreeFichier() ;
   //
 
 public:
-  std::string _YACSFile;
-  std::string _DirName;
-  std::string _Texte;
-  std::string _Texte_parametres;
+  std::string _XMLFile ;
+  std::string _DirName ;
+  std::string _Texte ;
+  std::string _Texte_parametres ;
+  std::string _noeud_1 ;
+  std::string _LangueShort ;
   bool _bLu;
 
 private :