update_structure#
- Parametrization.update_structure(fdtd_session: FdtdSession, params: ndarray, polygon_name: str | None = None) None#
Add parametrized geometry to FDTD simulation
For ParametrizedGeometry, the structure dictionary contains property mappings in the format “object_name::property_name”: value. This method applies those properties to the corresponding objects in the FDTD session.
Assumes the objects already exist in the FDTD simulation (creating during setup).
- Parameters:
- fdtd_session
FdtdSession The FDTD session object managing the simulation.
- params
np.ndarray New parameter values to update the geometry.
- polygon_name
str,optional Ignored. Accepted to match the
BaseParametrizationAPI soCombinedParametrizationcan pass per-child overrides uniformly.Parametrizationdoes not back a single polygon object, so the override has no effect here.
- fdtd_session