//=============================================================================
void HOMARD_Iteration::SetFieldInterpTimeStepRank( const char* FieldInterp, int TimeStep, int Rank )
{
- MESSAGE("Champ " << FieldInterp << ", hypothese " << _NomHypo )
+ MESSAGE("Champ " << FieldInterp << ", hypothese " << _NomHypo );
// Verification de la presence du champ dans l'hypothese
std::list<std::string>::iterator it = find( _ListFieldInterp.begin(), _ListFieldInterp.end(), FieldInterp );
if ( it == _ListFieldInterp.end() )
//================================================
void HOMARDGUI::createPreferences()
{
- MESSAGE("createPreferences")
+ MESSAGE("createPreferences");
int Onglet, Bloc, Pref ;
// 1. Generalites
//================================================
void HOMARDGUI::createMenus()
{
- MESSAGE("createMenus")
+ MESSAGE("createMenus");
//
int HOMARD_Id = createMenu( tr( "HOM_MEN_HOMARD" ), -1, 5, 10 );
createMenu( 1101, HOMARD_Id, -1 ); //Create_Case
void HOMARDGUI::OnGUIEvent()
//================================================
{
- MESSAGE("OnGUIEvent()")
+ MESSAGE("OnGUIEvent()");
setOrb();
const QObject* obj = sender();
if ( !obj || !obj->inherits( "QAction" ) ) { return; }
case 1301: // Information sur un maillage
{
- MESSAGE("etape 1301")
+ MESSAGE("etape 1301");
MESSAGE("command " << theCommandID << " activated");
MonMeshInfo *aDlg = new MonMeshInfo( parent, true, HOMARD::HOMARD_Gen::_duplicate(homardGen) ) ;
aDlg->show();
case 1401: // Création d'un schema YACS
{
- MESSAGE("etape 1401")
+ MESSAGE("etape 1401");
MESSAGE("command " << theCommandID << " activated avec objet " << _ObjectName.toStdString().c_str() );
MonCreateYACS *aDlg = new MonCreateYACS( true, HOMARD::HOMARD_Gen::_duplicate(homardGen), _ObjectName ) ;
aDlg->show();
case 1402: // Ecriture d'un schéma YACS
{
- MESSAGE("etape 1402")
+ MESSAGE("etape 1402");
MESSAGE("command " << theCommandID << " activated avec objet " << _ObjectName.toStdString().c_str() );
try { homardGen->YACSWrite(_ObjectName.toStdString().c_str()); }
catch( SALOME::SALOME_Exception& S_ex )
void MonCreateBoundaryAn::SetCylinder()
// ------------------------------------------------------------------------
{
- MESSAGE("Debut de SetCylinder")
+ MESSAGE("Debut de SetCylinder");
gBCylindre->setVisible(1);
gBSphere->setVisible(0);
gBCone->setVisible(0);
void MonCreateBoundaryAn::SetSphere()
// ------------------------------------------------------------------------
{
- MESSAGE("Debut de SetSphere")
+ MESSAGE("Debut de SetSphere");
gBCylindre->setVisible(0);
gBSphere->setVisible(1);
gBCone->setVisible(0);
void MonCreateBoundaryAn::SetConeR()
// ------------------------------------------------------------------------
{
- MESSAGE("Debut de SetConeR")
+ MESSAGE("Debut de SetConeR");
//
// Stockage et conversion des valeurs si elles ont change
if ((_BoundaryAnXaxisCone != SpinBox_Cone_X1->value()) ||
(_BoundaryAnZorigCone != SpinBox_Cone_Z2->value()) ||
(_BoundaryAngle != SpinBox_Cone_V1->value()) )
{
- MESSAGE("Stockage et conversion")
+ MESSAGE("Stockage et conversion");
_BoundaryAnXaxisCone = SpinBox_Cone_X1->value() ;
_BoundaryAnYaxisCone = SpinBox_Cone_Y1->value() ;
_BoundaryAnZaxisCone = SpinBox_Cone_Z1->value() ;
void MonCreateBoundaryAn::SetConeA()
// ------------------------------------------------------------------------
{
- MESSAGE("Debut de SetConeA")
+ MESSAGE("Debut de SetConeA");
// Stockage et conversion des valeurs si elles ont change
if ((_BoundaryAnXcone1 != SpinBox_Cone_X1->value()) ||
(_BoundaryAnYcone1 != SpinBox_Cone_Y1->value()) ||
(_BoundaryAnZcone2 != SpinBox_Cone_Z2->value()) ||
(_BoundaryAnRayon2 != SpinBox_Cone_V2->value()) )
{
- MESSAGE("Stockage et conversion")
+ MESSAGE("Stockage et conversion");
_BoundaryAnXcone1 = SpinBox_Cone_X1->value() ;
_BoundaryAnYcone1 = SpinBox_Cone_Y1->value() ;
_BoundaryAnZcone1 = SpinBox_Cone_Z1->value() ;
void MonCreateBoundaryAn::SetCone()
// ------------------------------------------------------------------------
{
- MESSAGE("Debut de SetCone")
+ MESSAGE("Debut de SetCone");
gBCylindre->setVisible(0);
gBSphere->setVisible(0);
gBCone->setVisible(1);
void MonCreateBoundaryAn::SetTore()
// ------------------------------------------------------------------------
{
- MESSAGE("Debut de SetTore")
+ MESSAGE("Debut de SetTore");
gBCylindre->setVisible(0);
gBSphere->setVisible(0);
gBCone->setVisible(0);
// par deux rayons ou avec un axe et un angle.
// Voir sfcoi1 de HOMARD
{
- MESSAGE("Debut de convertRayonAngle, option = "<<option)
+ MESSAGE("Debut de convertRayonAngle, option = "<<option);
//
// o
// ! .
void MonCreateHypothesis::PushZoneNew()
// ------------------------------------------------------------------------
{
- MESSAGE("Debut de MonCreateHypothesis::PushZoneNew")
+ MESSAGE("Debut de MonCreateHypothesis::PushZoneNew");
MonCreateZone *aDlg = new MonCreateZone(this, true, HOMARD::HOMARD_Gen::_duplicate(myHomardGen), _aCaseName) ;
aDlg->show();
}
void MonCreateHypothesis::PushZoneEdit()
// ------------------------------------------------------------------------
{
- MESSAGE("Debut de MonCreateHypothesis::PushZoneEdit")
+ MESSAGE("Debut de MonCreateHypothesis::PushZoneEdit");
int colonne = TWZone->currentColumn();
QTableWidgetItem * monItem = TWZone->currentItem();
if (colonne !=2 || monItem == NULL)
// et affichage dans le tableau
// Par defaut, aucune n'est selectionnee
{
- MESSAGE("Debut de GetAllZones") ;
+ MESSAGE("Debut de GetAllZones");
HOMARD::listeZones_var mesZones = myHomardGen->GetAllZonesName();
int nbrow=TWZone->rowCount();
for ( int row=0; row< nbrow; row++)
_parentHyp(parentHyp),
_parentBound(parentBound)
{
- MESSAGE("Debut de MonCreateListGroup")
+ MESSAGE("Debut de MonCreateListGroup");
myHomardGen=HOMARD::HOMARD_Gen::_duplicate(myHomardGen0);
setupUi(this);
setModal(modal);
_parentHyp(parentHyp),
_parentBound(parentBound)
{
- MESSAGE("Debut de MonCreateListGroupCAO")
+ MESSAGE("Debut de MonCreateListGroupCAO");
myHomardGen=HOMARD::HOMARD_Gen::_duplicate(myHomardGen0);
setupUi(this);
setModal(modal);
void MonCreateZone::SetBox()
// ------------------------------------------------------------------------
{
- MESSAGE("Debut de SetBox")
+ MESSAGE("Debut de SetBox");
gBBox->setVisible(1) ;
gBSphere->setVisible(0) ;
gBCylindre->setVisible(0) ;
if ( _Zincr > 0 ) { SpinBox_Zmini->setValue(_Zcentre-10*_Zincr) ;
SpinBox_Zmaxi->setValue(_Zcentre+10*_Zincr) ; }
else { _Type=11 ; }
- MESSAGE("Fin de SetBox")
+ MESSAGE("Fin de SetBox");
}
// ------------------------------------------------------------------------
void MonCreateZone::SetSphere()
// ------------------------------------------------------------------------
{
- MESSAGE("Debut de SetSphere")
+ MESSAGE("Debut de SetSphere");
gBBox->setVisible(0) ;
gBSphere->setVisible(1) ;
gBCylindre->setVisible(0) ;
SpinBox_Ycentre->setValue(_Ycentre) ;
SpinBox_Zcentre->setValue(_Zcentre) ;
SpinBox_Rayon->setValue(_Rayon) ;
- MESSAGE("Fin de SetSphere")
+ MESSAGE("Fin de SetSphere");
}
// ------------------------------------------------------------------------
void MonCreateZone::SetCylinder()
// ------------------------------------------------------------------------
{
- MESSAGE("Debut de SetCylinder")
+ MESSAGE("Debut de SetCylinder");
gBBox->setVisible(0) ;
gBSphere->setVisible(0) ;
gBCylindre->setVisible(1) ;
else { _Type=31 ; }
SpinBox_Radius->setValue(_Rayon) ;
SpinBox_Haut->setValue(_Haut) ;
- MESSAGE("Fin de SetCylinder")
+ MESSAGE("Fin de SetCylinder");
}
// ------------------------------------------------------------------------
void MonCreateZone::SetPipe()
// ------------------------------------------------------------------------
{
- MESSAGE("Debut de SetPipe")
+ MESSAGE("Debut de SetPipe");
gBBox->setVisible(0) ;
gBSphere->setVisible(0) ;
gBCylindre->setVisible(0) ;
SpinBox_Radius_int->setValue(_RayonInt) ;
SpinBox_Radius_ext->setValue(_Rayon) ;
SpinBox_Haut_p->setValue(_Haut) ;
- MESSAGE("Fin de SetPipe")
+ MESSAGE("Fin de SetPipe");
}
void MonEditFile::PushOnPrint()
// ------------------------------------------------------------------------
{
- MESSAGE("Debut de MonEditFile::PushOnPrint")
+ MESSAGE("Debut de MonEditFile::PushOnPrint");
QMessageBox::warning( 0, QObject::tr("HOM_WARNING"),
QObject::tr("HOM_INACTIVE_BUTTON") );
return;