fdtdx.ObjectContainer

Bases: TreeClass

Container for managing simulation objects and their relationships.

This class provides a structured way to organize and access different types of simulation objects like sources, detectors, PML/periodic boundaries and devices. It maintains object lists and provides filtered access to specific object types.

Attributes:
  • object_list (list[SimulationObject]) –

    List of all simulation objects in the container.

  • volume_idx (int) –

    Index of the volume object in the object list.