// to desable writing boundaries
//_phyMin = _phyMax = _hgeoMin = _hgeoMax = undefinedDouble();
-
+
const char* intOptionNames[] = {
"addsurf_ivertex",
_charOptions.insert( charOptionNames[i] );
_option2value[ charOptionNames[i++] ].clear();
}
-
+
_sizeMap.clear();
}
case DefaultSize:
default:
_phySize = GetDefaultPhySize();
+ _gradation = GetDefaultGradation();
break;
}
NotifySubMeshesHypothesisModification();
<< " " << (int)_physicalMesh
<< " " << (int)_geometricMesh
<< " " << _phySize
- << " " << _angleMeshS
- << " " << _gradation
- << " " << (int)_quadAllowed
+ << " " << _angleMeshS
+ << " " << _gradation
+ << " " << (int)_quadAllowed
<< " " << (int)_decimesh;
save << " " << _phyMin
<< " " << _phyMax
}
save << " " << "__ATTRACTORS_END__";
}
-
-
+
+
return save;
}
_phyMin = val;
else
load.clear(std::ios::badbit | load.rdstate());
-
+
isOK = (load >> val);
if (isOK)
_phyMax = val;
else
load.clear(std::ios::badbit | load.rdstate());
-
+
isOK = (load >> val);
if (isOK)
_angleMeshC = val;
else
load.clear(std::ios::badbit | load.rdstate());
-
+
isOK = (load >> val);
if (isOK)
_hgeoMin = val;
else
load.clear(std::ios::badbit | load.rdstate());
-
+
isOK = (load >> val);
if (isOK)
_hgeoMax = val;
else
load.clear(std::ios::badbit | load.rdstate());
-
+
isOK = (load >> i);
if (isOK)
_verb = i;
bool isCustom = (myGeometricMesh->currentIndex() == UserDefined);
myAngleMeshS->setEnabled(isCustom);
myAngleMeshC->setEnabled(isCustom);
- myGradation->setEnabled(isCustom);
myGeoMax->setEnabled(isCustom);
myGeoMin->setEnabled(isCustom);
if ( ! isCustom ) {
- double aAngleMeshS, aGradation;
+ double aAngleMeshS;
switch( myGeometricMesh->currentIndex() ) {
case DefaultGeom:
default:
aAngleMeshS = 8;
- aGradation = 1.1;
break;
}
myAngleMeshS->setValue( aAngleMeshS );
myAngleMeshC->setValue( aAngleMeshS );
- myGradation->setValue( aGradation );
if ( !isDouble( myGeoMin->text(), true ))
myGeoMin->setText("");
if ( !isDouble( myGeoMax->text(), true ))