Salome HOME
Revert "Synchronize adm files"
[modules/homard.git] / src / HOMARD / YACSDriver.hxx
index 57dfa53e9111adaa877433c026f90c9197c7fe55..b716696cc37ec6e5e38171b9a449158aee6c82a0 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-2014  CEA/DEN, EDF R&D
 //
 // 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 XMLFile, const std::string DirName) ;
@@ -35,15 +37,17 @@ public:
   void        Texte_DataInit_MeshFile( const std::string Meshfile ) ;
   void        Texte_Alternance_Calcul_HOMARD_Calcul( const std::string FileName ) ;
   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 ) ;
+  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 ) ;
+  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_HOMARD_Exec_MeshName( const std::string MeshName ) ;
-  void        Texte_python( const std::string pythonTexte, int indice, const std::string concept ) ;
+  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() ;
   //