increase#

MapdlPool.increase(n=1)#

Add instances to the pool.

Parameters:
nint, optional

Number of instances to add. Default is 1.

Raises:
ValueError

If trying to increase pool when start_instance is False.

Return type:

None

Examples

>>> pool = MapdlPool(2)
>>> pool.increase()  # add 1 instance
>>> pool.increase(2)  # add 2 more instances