MESSAGE( "Default constructor, not for use" );
ASSERT( 0 );
}
-
//=============================================================================
/*!
* standard constructor
myHomardIteration = new ::HOMARD_Iteration();
ASSERT( myHomardIteration );
}
-
//=============================================================================
/*!
* standard destructor
return myHomardIteration->GetNumber() ;
}
//=============================================================================
-void HOMARD_Iteration_i::SetEtat( CORBA::Boolean Etat )
+void HOMARD_Iteration_i::SetState( CORBA::Long Etat )
{
ASSERT( myHomardIteration );
- myHomardIteration->SetEtat( Etat );
+ myHomardIteration->SetState( Etat );
}
//=============================================================================
-CORBA::Boolean HOMARD_Iteration_i::GetEtat()
+CORBA::Long HOMARD_Iteration_i::GetState()
{
ASSERT( myHomardIteration );
- return CORBA::Boolean( myHomardIteration->GetEtat());
+ return myHomardIteration->GetState() ;
}
//=============================================================================
void HOMARD_Iteration_i::SetMeshName( const char* NomMesh )
return CORBA::string_dup( myHomardIteration->GetLogFile().c_str() );
}
//=============================================================================
-CORBA::Long HOMARD_Iteration_i::Compute(CORBA::Long etatMenage)
+CORBA::Long HOMARD_Iteration_i::Compute(CORBA::Long etatMenage, CORBA::Long Option)
{
- MESSAGE ( "Compute : calcul d'une iteration" );
+ MESSAGE ( "Compute : calcul d'une iteration"<<", Option = "<<Option );
ASSERT( myHomardIteration );
//
// Nom de l'iteration
char* IterName = GetName() ;
CORBA::Long modeHOMARD = 1 ;
- CORBA::Long Option = 1 ;
+ CORBA::Long Option1 = 1 ;
MESSAGE ( "Compute : calcul de l'teration " << IterName );
- return _gen_i->Compute(IterName, etatMenage, modeHOMARD, Option) ;
+ return _gen_i->Compute(IterName, etatMenage, modeHOMARD, Option1, Option) ;
}
//=============================================================================
void HOMARD_Iteration_i::MeshInfo(CORBA::Long Qual, CORBA::Long Diam, CORBA::Long Conn, CORBA::Long Tail, CORBA::Long Inte)
if ( Tail != 0 ) { modeHOMARD = modeHOMARD*13 ; }
if ( Inte != 0 ) { modeHOMARD = modeHOMARD*3 ; }
MESSAGE ( "MeshInfoOption : information sur le maillage de l'iteration " << IterName );
- CORBA::Long codret = _gen_i->Compute(IterName, etatMenage, modeHOMARD, Option) ;
+ CORBA::Long Option2 = 1 ;
+ CORBA::Long codret = _gen_i->Compute(IterName, etatMenage, modeHOMARD, Option, Option2) ;
MESSAGE ( "MeshInfoOption : codret = " << codret );
//
return ;