def METHOD_NAME(self):
    if self.Mesh == None:
        self.PrintError('Error: No input mesh.')
    boundaryLayerGenerator = vtkvmtk.vtkvmtkBoundaryLayerGenerator2()
    boundaryLayerGenerator.SetInputData(self.Mesh)
    boundaryLayerGenerator.SetWarpVectorsArrayName(self.WarpVectorsArrayName)
    boundaryLayerGenerator.SetLayerThickness(self.Thickness)
    boundaryLayerGenerator.SetLayerThicknessArrayName(self.ThicknessArrayName)
    boundaryLayerGenerator.SetLayerThicknessRatio(self.ThicknessRatio)
    boundaryLayerGenerator.SetMaximumLayerThickness(self.MaximumThickness)
    boundaryLayerGenerator.SetNumberOfSubLayers(self.NumberOfSubLayers)
    boundaryLayerGenerator.SetSubLayerRatio(self.SubLayerRatio)
    boundaryLayerGenerator.SetConstantThickness(self.ConstantThickness)
    boundaryLayerGenerator.SetUseWarpVectorMagnitudeAsThickness(self.UseWarpVectorMagnitudeAsThickness)
    boundaryLayerGenerator.SetIncludeSurfaceCells(self.IncludeSurfaceCells)
    boundaryLayerGenerator.SetNegateWarpVectors(self.NegateWarpVectors)
    boundaryLayerGenerator.SetCellEntityIdsArrayName(self.CellEntityIdsArrayName)
    boundaryLayerGenerator.SetOpenProfilesIdsArrayName(self.OpenProfilesIdsArrayName)
    boundaryLayerGenerator.SetIncludeExtrudedOpenProfilesCells(self.IncludeExtrudedOpenProfilesCells)
    boundaryLayerGenerator.SetIncludeExtrudedSurfaceCells(self.IncludeExtrudedSurfaceCells)
    boundaryLayerGenerator.SetIncludeOriginalSurfaceCells(self.IncludeOriginalSurfaceCells)
    boundaryLayerGenerator.SetLayerEntityId(self.LayerEntityId)
    boundaryLayerGenerator.SetSurfaceEntityId(int(self.SurfaceEntityId))
    boundaryLayerGenerator.SetOpenProfilesEntityId(int(self.OpenProfilesEntityId))
    boundaryLayerGenerator.Update()
    self.Mesh = boundaryLayerGenerator.GetOutput()
    self.InnerSurfaceMesh = boundaryLayerGenerator.GetInnerSurface()