Version: 9.16.0
SMESHHOMARD_I::HOMARD_Gen_i Class Reference

#include <SMESH_Homard_i.hxx>

Inheritance diagram for SMESHHOMARD_I::HOMARD_Gen_i:

Public Member Functions

 HOMARD_Gen_i ()
 standard constructor More...
 
virtual ~HOMARD_Gen_i ()
 standard destructor More...
 
SMESHHOMARD::HOMARD_Boundary_ptr CreateBoundary (const char *nomBoundary, CORBA::Long typeBoundary)
 
SMESHHOMARD::HOMARD_Boundary_ptr CreateBoundaryCAO (const char *nomBoundary, const char *DataFile)
 
SMESHHOMARD::HOMARD_Boundary_ptr CreateBoundaryDi (const char *nomBoundary, const char *MeshName, const char *DataFile)
 
SMESHHOMARD::HOMARD_Boundary_ptr CreateBoundaryCylinder (const char *nomBoundary, CORBA::Double Xcentre, CORBA::Double Ycentre, CORBA::Double Zcentre, CORBA::Double Xaxis, CORBA::Double Yaxis, CORBA::Double Zaxis, CORBA::Double Rayon)
 
SMESHHOMARD::HOMARD_Boundary_ptr CreateBoundarySphere (const char *nomBoundary, CORBA::Double Xcentre, CORBA::Double Ycentre, CORBA::Double Zcentre, CORBA::Double Rayon)
 
SMESHHOMARD::HOMARD_Boundary_ptr CreateBoundaryConeR (const char *nomBoundary, CORBA::Double Xcentre1, CORBA::Double Ycentre1, CORBA::Double Zcentre1, CORBA::Double Rayon1, CORBA::Double Xcentre2, CORBA::Double Ycentre2, CORBA::Double Zcentre2, CORBA::Double Rayon2)
 
SMESHHOMARD::HOMARD_Boundary_ptr CreateBoundaryConeA (const char *nomBoundary, CORBA::Double Xaxis, CORBA::Double Yaxis, CORBA::Double Zaxis, CORBA::Double Angle, CORBA::Double Xcentre, CORBA::Double Ycentre, CORBA::Double Zcentre)
 
SMESHHOMARD::HOMARD_Boundary_ptr CreateBoundaryTorus (const char *nomBoundary, CORBA::Double Xcentre, CORBA::Double Ycentre, CORBA::Double Zcentre, CORBA::Double Xaxis, CORBA::Double Yaxis, CORBA::Double Zaxis, CORBA::Double RayonRev, CORBA::Double RayonPri)
 
SMESHHOMARD::HOMARD_Cas_ptr CreateCaseOnMesh (const char *MeshName, SMESH::SMESH_Mesh_ptr smeshMesh, const char *theWorkingDir)
 
SMESHHOMARD::HOMARD_Cas_ptr CreateCase (const char *MeshName, const char *FileName, const char *theWorkingDir)
 
HOMARD_Iteration_iCreateIteration ()
 
SMESHHOMARD::HOMARD_Boundary_ptr GetBoundary (const char *nomBoundary)
 
SMESHHOMARD::HOMARD_Cas_ptr GetCase ()
 
HOMARD_Iteration_iGetIteration (CORBA::Long numIter)
 
SMESHHOMARD::listeBoundarysGetAllBoundarysName ()
 
void InvalideBoundary (const char *nomBoundary)
 
CORBA::Long DeleteBoundary (const char *nomBoundary)
 
void DeleteCase ()
 
CORBA::Long DeleteIteration (int numIter)
 
void AddBoundary (const char *Boundary)
 
void AddBoundaryGroup (const char *Boundary, const char *Group)
 
void AssociateCaseIter (int numIter, const char *labelIter)
 
char * CreateDirNameIter (const char *nomrep, CORBA::Long num)
 
CORBA::Long Compute ()
 
CORBA::Long ComputeAdap (SMESHHOMARDImpl::HomardDriver *myDriver)
 
CORBA::Long ComputeCAO ()
 
CORBA::Long ComputeCAObis ()
 
char * ComputeDirManagement ()
 
char * ComputeDirPaManagement ()
 
int DriverTexteBoundary (SMESHHOMARDImpl::HomardDriver *myDriver)
 
void PublishResultInSmesh (const char *NomFich)
 
void DeleteResultInSmesh (std::string NomFich, std::string MeshName)
 
void PythonDump ()
 
void SetConfType (CORBA::Long theConfType)
 
void SetKeepMedOUT (bool theKeepMedOUT)
 
void SetPublishMeshOUT (bool thePublishMeshOUT)
 
void SetMeshNameOUT (const char *theMeshNameOUT)
 
void SetMeshFileOUT (const char *theMeshFileOUT)
 
void SetVerboseLevel (CORBA::Long theVerboseLevel)
 
void SetKeepWorkingFiles (bool theKeepWorkingFiles)
 
void SetLogInFile (bool theLogInFile)
 
void SetLogFile (const char *theLogFile)
 
void SetRemoveLogOnSuccess (bool theRemoveLogOnSuccess)
 

Private Member Functions

SMESHHOMARD::HOMARD_Boundary_ptr newBoundary ()
 
SMESHHOMARD::HOMARD_Cas_ptr newCase ()
 
HOMARD_Iteration_inewIteration ()
 

Private Attributes

SMESHHOMARDImpl::HOMARD_GenmyHomard
 
HOMARD_Iteration_imyIteration0
 
HOMARD_Iteration_imyIteration1
 
SMESHHOMARD::HOMARD_Cas_var myCase
 
std::map< std::string, SMESHHOMARD::HOMARD_Boundary_var > _mesBoundarys
 
int _ConfType
 
bool _KeepMedOUT
 
bool _PublishMeshOUT
 
bool _KeepWorkingFiles
 
bool _LogInFile
 
bool _RemoveLogOnSuccess
 
int _VerboseLevel
 
std::string _MeshNameOUT
 
std::string _MeshFileOUT
 
std::string _LogFile
 
bool _CaseOnMedFile
 
SMESH::SMESH_Mesh_var _SmeshMesh
 
std::string _TmpMeshFile
 

Constructor & Destructor Documentation

◆ HOMARD_Gen_i()

SMESHHOMARD_I::HOMARD_Gen_i::HOMARD_Gen_i ( )

standard constructor

References MESSAGE, and myHomard.

◆ ~HOMARD_Gen_i()

SMESHHOMARD_I::HOMARD_Gen_i::~HOMARD_Gen_i ( )
virtual

standard destructor

References MESSAGE.

Member Function Documentation

◆ AddBoundary()

void SMESHHOMARD_I::HOMARD_Gen_i::AddBoundary ( const char *  Boundary)

References MESSAGE, and myCase.

◆ AddBoundaryGroup()

void SMESHHOMARD_I::HOMARD_Gen_i::AddBoundaryGroup ( const char *  Boundary,
const char *  Group 
)

References MESSAGE, and myCase.

◆ AssociateCaseIter()

void SMESHHOMARD_I::HOMARD_Gen_i::AssociateCaseIter ( int  numIter,
const char *  labelIter 
)

◆ Compute()

◆ ComputeAdap()

◆ ComputeCAO()

◆ ComputeCAObis()

◆ ComputeDirManagement()

char * SMESHHOMARD_I::HOMARD_Gen_i::ComputeDirManagement ( )

◆ ComputeDirPaManagement()

char * SMESHHOMARD_I::HOMARD_Gen_i::ComputeDirPaManagement ( )

◆ CreateBoundary()

SMESHHOMARD::HOMARD_Boundary_ptr SMESHHOMARD_I::HOMARD_Gen_i::CreateBoundary ( const char *  nomBoundary,
CORBA::Long  typeBoundary 
)

◆ CreateBoundaryCAO()

SMESHHOMARD::HOMARD_Boundary_ptr SMESHHOMARD_I::HOMARD_Gen_i::CreateBoundaryCAO ( const char *  nomBoundary,
const char *  DataFile 
)

References CreateBoundary(), and MESSAGE.

◆ CreateBoundaryConeA()

SMESHHOMARD::HOMARD_Boundary_ptr SMESHHOMARD_I::HOMARD_Gen_i::CreateBoundaryConeA ( const char *  nomBoundary,
CORBA::Double  Xaxis,
CORBA::Double  Yaxis,
CORBA::Double  Zaxis,
CORBA::Double  Angle,
CORBA::Double  Xcentre,
CORBA::Double  Ycentre,
CORBA::Double  Zcentre 
)

References CreateBoundary(), and MESSAGE.

◆ CreateBoundaryConeR()

SMESHHOMARD::HOMARD_Boundary_ptr SMESHHOMARD_I::HOMARD_Gen_i::CreateBoundaryConeR ( const char *  nomBoundary,
CORBA::Double  Xcentre1,
CORBA::Double  Ycentre1,
CORBA::Double  Zcentre1,
CORBA::Double  Rayon1,
CORBA::Double  Xcentre2,
CORBA::Double  Ycentre2,
CORBA::Double  Zcentre2,
CORBA::Double  Rayon2 
)

References CreateBoundary(), and MESSAGE.

◆ CreateBoundaryCylinder()

SMESHHOMARD::HOMARD_Boundary_ptr SMESHHOMARD_I::HOMARD_Gen_i::CreateBoundaryCylinder ( const char *  nomBoundary,
CORBA::Double  Xcentre,
CORBA::Double  Ycentre,
CORBA::Double  Zcentre,
CORBA::Double  Xaxis,
CORBA::Double  Yaxis,
CORBA::Double  Zaxis,
CORBA::Double  Rayon 
)

References CreateBoundary(), and MESSAGE.

◆ CreateBoundaryDi()

SMESHHOMARD::HOMARD_Boundary_ptr SMESHHOMARD_I::HOMARD_Gen_i::CreateBoundaryDi ( const char *  nomBoundary,
const char *  MeshName,
const char *  DataFile 
)

References CreateBoundary(), and MESSAGE.

◆ CreateBoundarySphere()

SMESHHOMARD::HOMARD_Boundary_ptr SMESHHOMARD_I::HOMARD_Gen_i::CreateBoundarySphere ( const char *  nomBoundary,
CORBA::Double  Xcentre,
CORBA::Double  Ycentre,
CORBA::Double  Zcentre,
CORBA::Double  Rayon 
)

References CreateBoundary(), and MESSAGE.

◆ CreateBoundaryTorus()

SMESHHOMARD::HOMARD_Boundary_ptr SMESHHOMARD_I::HOMARD_Gen_i::CreateBoundaryTorus ( const char *  nomBoundary,
CORBA::Double  Xcentre,
CORBA::Double  Ycentre,
CORBA::Double  Zcentre,
CORBA::Double  Xaxis,
CORBA::Double  Yaxis,
CORBA::Double  Zaxis,
CORBA::Double  RayonRev,
CORBA::Double  RayonPri 
)

References CreateBoundary(), and MESSAGE.

◆ CreateCase()

◆ CreateCaseOnMesh()

◆ CreateDirNameIter()

char * SMESHHOMARD_I::HOMARD_Gen_i::CreateDirNameIter ( const char *  nomrep,
CORBA::Long  num 
)

◆ CreateIteration()

◆ DeleteBoundary()

CORBA::Long SMESHHOMARD_I::HOMARD_Gen_i::DeleteBoundary ( const char *  nomBoundary)

References _mesBoundarys, and MESSAGE.

◆ DeleteCase()

void SMESHHOMARD_I::HOMARD_Gen_i::DeleteCase ( )

◆ DeleteIteration()

◆ DeleteResultInSmesh()

void SMESHHOMARD_I::HOMARD_Gen_i::DeleteResultInSmesh ( std::string  NomFich,
std::string  MeshName 
)

◆ DriverTexteBoundary()

◆ GetAllBoundarysName()

SMESHHOMARD::listeBoundarys * SMESHHOMARD_I::HOMARD_Gen_i::GetAllBoundarysName ( )

References _mesBoundarys, and MESSAGE.

◆ GetBoundary()

SMESHHOMARD::HOMARD_Boundary_ptr SMESHHOMARD_I::HOMARD_Gen_i::GetBoundary ( const char *  nomBoundary)

References _mesBoundarys.

◆ GetCase()

SMESHHOMARD::HOMARD_Cas_ptr SMESHHOMARD_I::HOMARD_Gen_i::GetCase ( )

References myCase.

◆ GetIteration()

HOMARD_Iteration_i * SMESHHOMARD_I::HOMARD_Gen_i::GetIteration ( CORBA::Long  numIter)

◆ InvalideBoundary()

void SMESHHOMARD_I::HOMARD_Gen_i::InvalideBoundary ( const char *  nomBoundary)

References _mesBoundarys, and MESSAGE.

◆ newBoundary()

SMESHHOMARD::HOMARD_Boundary_ptr SMESHHOMARD_I::HOMARD_Gen_i::newBoundary ( )
private

Referenced by CreateBoundary().

◆ newCase()

SMESHHOMARD::HOMARD_Cas_ptr SMESHHOMARD_I::HOMARD_Gen_i::newCase ( )
private

Referenced by CreateCase(), and CreateCaseOnMesh().

◆ newIteration()

HOMARD_Iteration_i * SMESHHOMARD_I::HOMARD_Gen_i::newIteration ( )
private

◆ PublishResultInSmesh()

void SMESHHOMARD_I::HOMARD_Gen_i::PublishResultInSmesh ( const char *  NomFich)

◆ PythonDump()

◆ SetConfType()

void SMESHHOMARD_I::HOMARD_Gen_i::SetConfType ( CORBA::Long  theConfType)

References _ConfType.

◆ SetKeepMedOUT()

void SMESHHOMARD_I::HOMARD_Gen_i::SetKeepMedOUT ( bool  theKeepMedOUT)

References _KeepMedOUT.

◆ SetKeepWorkingFiles()

void SMESHHOMARD_I::HOMARD_Gen_i::SetKeepWorkingFiles ( bool  theKeepWorkingFiles)

References _KeepWorkingFiles.

◆ SetLogFile()

void SMESHHOMARD_I::HOMARD_Gen_i::SetLogFile ( const char *  theLogFile)

References _LogFile.

◆ SetLogInFile()

void SMESHHOMARD_I::HOMARD_Gen_i::SetLogInFile ( bool  theLogInFile)

References _LogInFile.

◆ SetMeshFileOUT()

void SMESHHOMARD_I::HOMARD_Gen_i::SetMeshFileOUT ( const char *  theMeshFileOUT)

References _MeshFileOUT.

◆ SetMeshNameOUT()

void SMESHHOMARD_I::HOMARD_Gen_i::SetMeshNameOUT ( const char *  theMeshNameOUT)

References _MeshNameOUT.

◆ SetPublishMeshOUT()

void SMESHHOMARD_I::HOMARD_Gen_i::SetPublishMeshOUT ( bool  thePublishMeshOUT)

References _PublishMeshOUT.

◆ SetRemoveLogOnSuccess()

void SMESHHOMARD_I::HOMARD_Gen_i::SetRemoveLogOnSuccess ( bool  theRemoveLogOnSuccess)

References _RemoveLogOnSuccess.

◆ SetVerboseLevel()

void SMESHHOMARD_I::HOMARD_Gen_i::SetVerboseLevel ( CORBA::Long  theVerboseLevel)

References _VerboseLevel.

Field Documentation

◆ _CaseOnMedFile

bool SMESHHOMARD_I::HOMARD_Gen_i::_CaseOnMedFile
private

◆ _ConfType

int SMESHHOMARD_I::HOMARD_Gen_i::_ConfType
private

◆ _KeepMedOUT

bool SMESHHOMARD_I::HOMARD_Gen_i::_KeepMedOUT
private

◆ _KeepWorkingFiles

bool SMESHHOMARD_I::HOMARD_Gen_i::_KeepWorkingFiles
private

◆ _LogFile

std::string SMESHHOMARD_I::HOMARD_Gen_i::_LogFile
private

Referenced by Compute(), PythonDump(), and SetLogFile().

◆ _LogInFile

bool SMESHHOMARD_I::HOMARD_Gen_i::_LogInFile
private

Referenced by Compute(), PythonDump(), and SetLogInFile().

◆ _mesBoundarys

std::map<std::string, SMESHHOMARD::HOMARD_Boundary_var> SMESHHOMARD_I::HOMARD_Gen_i::_mesBoundarys
private

◆ _MeshFileOUT

std::string SMESHHOMARD_I::HOMARD_Gen_i::_MeshFileOUT
private

Referenced by Compute(), PythonDump(), and SetMeshFileOUT().

◆ _MeshNameOUT

std::string SMESHHOMARD_I::HOMARD_Gen_i::_MeshNameOUT
private

Referenced by Compute(), PythonDump(), and SetMeshNameOUT().

◆ _PublishMeshOUT

bool SMESHHOMARD_I::HOMARD_Gen_i::_PublishMeshOUT
private

◆ _RemoveLogOnSuccess

bool SMESHHOMARD_I::HOMARD_Gen_i::_RemoveLogOnSuccess
private

◆ _SmeshMesh

SMESH::SMESH_Mesh_var SMESHHOMARD_I::HOMARD_Gen_i::_SmeshMesh
private

◆ _TmpMeshFile

std::string SMESHHOMARD_I::HOMARD_Gen_i::_TmpMeshFile
private

Referenced by CreateCaseOnMesh(), and DeleteCase().

◆ _VerboseLevel

int SMESHHOMARD_I::HOMARD_Gen_i::_VerboseLevel
private

◆ myCase

◆ myHomard

SMESHHOMARDImpl::HOMARD_Gen* SMESHHOMARD_I::HOMARD_Gen_i::myHomard
private

Referenced by HOMARD_Gen_i().

◆ myIteration0

◆ myIteration1