1 // HOMARD HOMARD : implementaion of HOMARD idl descriptions
3 // Copyright (C) 2011 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.
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 __HOMARDDRIVER_H__
23 # define __HOMARDDRIVER_H__
31 HomardDriver(const std::string siter, const std::string siterp1);
34 void TexteInit( const std::string DirCompute, const std::string DirComputePa, const std::string MessFile );
36 void TexteMaillage( const std::string NomMesh, const std::string MeshFile, int apres );
37 void TexteConfRaffDera( int ConfType, int TypeAdap, int TypeRaff, int TypeDera );
38 void TexteZone( int NumeZone, int ZoneType, double x0, double x1, double x2, double x3, double x4, double x5, double x6, double x7, double x8 );
39 void TexteGroup( const std::string GroupName );
40 void TexteField( const std::string FieldName, const std::string FieldFile,
41 int TimeStep, int Rank,
42 int TypeThR, double ThreshR, int TypeThC, double ThreshC,
43 int UsField, int UsCmpI );
44 void TexteCompo( int NumeComp, const std::string NomCompo);
46 void TexteBoundaryOption( int BoundaryOption );
47 void TexteBoundaryDi( const std::string MeshName, const std::string MeshFile );
48 void TexteBoundaryDiGr( const std::string GroupName );
49 void TexteBoundaryAn( const std::string NameBoundary, int NumeBoundary, int BoundaryType, double x0, double x1, double x2, double x3, double x4, double x5, double x6 );
50 void TexteBoundaryAnGr( const std::string NameBoundary, int NumeBoundary, const std::string GroupName );
52 void TexteFieldInterp( int TypeFieldInterp, const std::string FieldFile, const std::string MeshFile,
53 int TimeStep, int Rank );
54 void TexteFieldInterpName( int NumeChamp, const std::string FieldName);
55 void TexteAdvanced( int Pyram, int NivMax, double DiamMin);
62 void SetTexte( const std::string texte );
63 std::string GetTexte();
64 std::string GetFichierInfo();
65 std::string GetFichierBasic();
66 std::string GetFichierResultMed();
67 std::string GetFichierHomard();
68 int GetFichierNumeroIter();
71 std::string _HOMARD_Exec;
73 std::string _NomFichierConfBase;
74 std::string _NomFichierConf;
83 std::string GetStringInTexte( std::string chaineCherchee, int longueur = 9 );
86 # endif /* # ifndef __HOMARDDRIVER_H__ */