//===============================================================================
void HomardDriver::TexteMaillage( const std::string NomMesh, const std::string MeshFile, int apres )
{
- MESSAGE("TexteMaillage, NomMesh ="<<NomMesh<<", MeshFile ="<<MeshFile<<", apres ="<<apres);
+ MESSAGE("TexteMaillage, NomMesh = "<<NomMesh);
+ MESSAGE("TexteMaillage, MeshFile = "<<MeshFile);
+ MESSAGE("TexteMaillage, apres = "<<apres);
std::string saux ;
saux = "P1" ;
if ( apres < 1 ) { saux = "__" ; }
if ( UsCmpI == 1 )
{ saux = "INFINI" ; }
if ( UsCmpI == 2 )
- { saux = "V_RELATIVE" ; }
+ { saux = "RELATIF" ; }
if ( saux != " " )
{
_Texte += "CCUsCmpI " + saux + "\n" ;
MESSAGE("TexteBoundaryDi, MeshName = "<<MeshName);
MESSAGE("TexteBoundaryDi, MeshFile = "<<MeshFile);
//
+ _Texte += "#\n# Frontiere discrete\n" ;
_Texte += "CCNoMFro \"" + MeshName + "\"\n" ;
_Texte += "CCFronti \"" + MeshFile + "\"\n" ;
//
//===============================================================================
// F. Les options avancees
//===============================================================================
-void HomardDriver::TexteAdvanced( int Pyram, int NivMax, double DiamMin, int AdapInit, int LevelOutput )
+void HomardDriver::TexteAdvanced( int Pyram, int NivMax, double DiamMin, int AdapInit, int ExtraOutput )
{
- MESSAGE("TexteAdvanced, Pyram ="<<Pyram<<", NivMax ="<<NivMax<<", DiamMin ="<<DiamMin<<", AdapInit ="<<AdapInit<<", LevelOutput ="<<LevelOutput);
+ MESSAGE("TexteAdvanced, Pyram ="<<Pyram<<", NivMax ="<<NivMax<<", DiamMin ="<<DiamMin<<", AdapInit ="<<AdapInit<<", ExtraOutput ="<<ExtraOutput);
if ( Pyram > 0 )
{
_Texte += "AdapInit " + saux1.str() + "\n" ;
}
}
- if ( LevelOutput != 0 )
+ if ( ExtraOutput % 2 == 0 )
{
_Texte += "# Sortie des niveaux de raffinement\n" ;
_Texte += "NCNiveau NIVEAU\n" ;
}
+ if ( ExtraOutput % 3 == 0 )
+ {
+ _Texte += "# Sortie des qualités des mailles\n" ;
+ _Texte += "NCQualit QUAL\n" ;
+ }
+ if ( ExtraOutput % 5 == 0 )
+ {
+ _Texte += "# Sortie des diamètres des mailles\n" ;
+ _Texte += "NCDiamet DIAM\n" ;
+ }
}
//===============================================================================
// G. Les messages