X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHOMARD_I%2FHOMARD_Cas_i.hxx;h=08617695273a434279250efc64f4466f266008e6;hb=b8b05864d14bb52293c5c80f46c103b51d65f5cd;hp=27355f2a5b0616b6cd7b72b947f0b8ee5550501a;hpb=b93f68e791d9a197c7130c94d2e317b1ebcd7220;p=modules%2Fhomard.git diff --git a/src/HOMARD_I/HOMARD_Cas_i.hxx b/src/HOMARD_I/HOMARD_Cas_i.hxx index 27355f2a..08617695 100644 --- a/src/HOMARD_I/HOMARD_Cas_i.hxx +++ b/src/HOMARD_I/HOMARD_Cas_i.hxx @@ -1,9 +1,9 @@ -// Copyright (C) 2011-2012 CEA/DEN, EDF R&D +// Copyright (C) 2011-2021 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_Cas) +#include "HOMARD_i.hxx" #include "SALOME_Component_i.hxx" #include "SALOME_NamingService.hxx" #include "Utils_CorbaException.hxx" @@ -41,7 +43,7 @@ class HOMARD_Cas; -class HOMARD_Cas_i: +class HOMARDENGINE_EXPORT HOMARD_Cas_i: public virtual Engines_Component_i, public virtual POA_HOMARD::HOMARD_Cas, public virtual PortableServer::ServantBase @@ -56,7 +58,7 @@ public: void SetName( const char* Name ); char* GetName(); - CORBA::Long Delete(); + CORBA::Long Delete( CORBA::Long Option ); char* GetDumpPython(); @@ -67,11 +69,16 @@ public: void SetDirName( const char* NomDir ); char* GetDirName(); - CORBA::Long GetNumber(); + CORBA::Long GetState(); + + CORBA::Long GetNumberofIter(); void SetConfType( CORBA::Long ConfType ); CORBA::Long GetConfType(); + void SetExtType( CORBA::Long ExtType ); + CORBA::Long GetExtType(); + void SetBoundingBox( const HOMARD::extrema& LesExtremes ); HOMARD::extrema* GetBoundingBox(); @@ -79,8 +86,10 @@ public: void SetGroups(const HOMARD::ListGroupType& ListGroup); HOMARD::ListGroupType* GetGroups(); - void AddBoundaryGroup( const char* Boundary, const char* Group); + void AddBoundary(const char* Boundary); + void AddBoundaryGroup(const char* Boundary, const char* Group); HOMARD::ListBoundaryGroupType* GetBoundaryGroup(); + void SupprBoundaryGroup( ); void SetPyram( CORBA::Long Pyram ); CORBA::Long GetPyram(); @@ -97,6 +106,9 @@ public: void AddIteration( const char* NomIteration ); +// YACS + HOMARD::HOMARD_YACS_ptr CreateYACSSchema( const char* YACSName, const char* ScriptFile, const char* DirName, const char* MeshFile ); + private: ::HOMARD_Cas* myHomardCas;