-# Copyright (C) 2007-2022 CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-2023 CEA/DEN, EDF R&D, OPEN CASCADE
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
if self.Parameters(): self.params.SetGrowthRate(theRate)
pass
+ ## Sets @c NbThreads parameter
+ # @param theRate new value of the @c NbThreads parameter
+ def SetNbThreads(self, theNumber):
+ if self.Parameters(): self.params.SetNbThreads(theNumber)
+ pass
+
## Creates meshing hypothesis according to the chosen algorithm type
# and initializes it with default parameters
# @param which hypothesis type; can be either @ref SOLE (default) or @ref SIMPLE