default_allocator.py

default_allocator.py#

Define the DefaultAllocator class.

class openmdao.proc_allocators.default_allocator.DefaultAllocator(parallel=False)[source]

Bases: ProcAllocator

Default processor allocator.

Parameters:
parallelbool

If True, split subsystem comm.

Methods

__call__(proc_info, nsubs, comm)

Perform the allocation if parallel.