update_structure#

CombinedParametrization.update_structure(fdtd_session: FdtdSession, params: ndarray) None#

Update all children’s geometries in the FDTD simulation.

The combined parameter vector is split into per-child slices and each child’s update_structure is called with its own slice. Per-child polygon_name overrides are passed as an explicit kwarg so that each ClosedCurve child gets its own object in the FDTD CAD without mutating the child’s structure dict.

Parameters:
fdtd_sessionFdtdSession

The FDTD session object managing the simulation.

paramsnp.ndarray

Combined parameter vector of length n_params.

Raises:
ValueError

If params has incorrect length.