]> SALOME platform Git repositories - modules/homard.git/blobdiff - src/HOMARD_I/HOMARD_YACS_i.hxx
Salome HOME
Copyright update 2022
[modules/homard.git] / src / HOMARD_I / HOMARD_YACS_i.hxx
index 4a26544a6521a40d028de48687b16ea63743ec67..82b2c2b8914981296a8db5187511da8facea132f 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2011-2013  CEA/DEN, EDF R&D
+// Copyright (C) 2011-2022  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
@@ -16,6 +16,7 @@
 //
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 // Remarques :
 // L'ordre de description des fonctions est le meme dans tous les fichiers
 // HOMARD_aaaa.idl, HOMARD_aaaa.hxx, HOMARD_aaaa.cxx, HOMARD_aaaa_i.hxx, HOMARD_aaaa_i.cxx :
@@ -33,6 +34,7 @@
 #include CORBA_SERVER_HEADER(HOMARD_Gen)
 #include CORBA_SERVER_HEADER(HOMARD_YACS)
 
+#include "HOMARD_i.hxx"
 #include "SALOME_Component_i.hxx"
 #include "SALOME_NamingService.hxx"
 #include "Utils_CorbaException.hxx"
@@ -41,7 +43,7 @@
 
 class HOMARD_YACS;
 
-class HOMARD_YACS_i:
+class HOMARDENGINE_EXPORT HOMARD_YACS_i:
   public virtual Engines_Component_i,
   public virtual POA_HOMARD::HOMARD_YACS,
   public virtual PortableServer::ServantBase
@@ -68,6 +70,17 @@ public:
   void                   SetType( CORBA::Long Type );
   CORBA::Long            GetType();
 
+  void                   SetMaxIter( CORBA::Long MaxIter );
+  CORBA::Long            GetMaxIter();
+  void                   SetMaxNode( CORBA::Long MaxNode );
+  CORBA::Long            GetMaxNode();
+  void                   SetMaxElem( CORBA::Long MaxElem );
+  CORBA::Long            GetMaxElem();
+
+  void                   SetTestConvergence( CORBA::Long TypeTest, CORBA::Double VRef );
+  CORBA::Long            GetTestConvergenceType();
+  CORBA::Double          GetTestConvergenceVRef();
+
   void                   SetDirName( const char* NomDir );
   char*                  GetDirName();
 
@@ -77,9 +90,11 @@ public:
   void                   SetScriptFile( const char* ScriptFile );
   char*                  GetScriptFile();
 
+  void                   SetXMLFile( const char* XMLFile );
+  char*                  GetXMLFile();
 
   CORBA::Long            Write() ;
-  CORBA::Long            WriteOnFile( const char* YACSFile ) ;
+  CORBA::Long            WriteOnFile( const char* XMLFile ) ;
 
   // Liens avec les autres structures
   void                   SetCaseName( const char* NomCas );