increase#
- MapdlPool.increase(n=1)#
Add instances to the pool.
- Parameters:
- n
int,optional Number of instances to add. Default is 1.
- n
- Raises:
ValueErrorIf trying to increase pool when start_instance is False.
- Return type:
Examples
>>> pool = MapdlPool(2) >>> pool.increase() # add 1 instance >>> pool.increase(2) # add 2 more instances