# @param firstLayerSize height of the first layer
# @param growth geometric progression for the boundary layer growth
# @param direction describes whether the layers grow inwards or outwards.
- # if direction is:
- # \c Inward : means the layers grow inwards,
- # \c Outward : means the layers grow outwards
- # @param facesWithLayers list of surface references from which the boundary
+ # Possible values are:
+ # - \c smeshBuilder.Inward : means the layers grow inwards,
+ # - \c smeshBuilder.Outward : means the layers grow outwards
+ # @param facesWithLayers list of surfaces from which the boundary
# layers should be grown
- # @param imprintedFaces list of surface references that can be imprinted by
+ # @param imprintedFaces list of surfaces that can be imprinted by
# boundary layers
# @return hypothesis object
def SetViscousLayers(self, numberOfLayers, firstLayerSize, growth,
- direction=Inward, facesWithLayers=[], imprintedFaces=[]):
+ facesWithLayers, imprintedFaces=[], direction=Inward):
self.Parameters().SetNbLayers(numberOfLayers)
self.Parameters().SetFirstLayerSize(firstLayerSize)
self.Parameters().SetGrowth(growth)
#ifdef WITH_BLSURFPLUGIN
bool defaultInputFile = true;
if (_blsurfHypo && !_blsurfHypo->GetQuadAllowed()) {
- Hexotic_In = TCollection_AsciiString(_blsurfHypo->GetGMFFile().c_str());
- if (Hexotic_In != "")
+ Hexotic_In = _blsurfHypo->GetGMFFile().c_str();
+ if ( !Hexotic_In.IsEmpty() &&
+ SMESH_File( _blsurfHypo->GetGMFFile() ).exists() )
defaultInputFile = false;
}
if (defaultInputFile) {