update_structure#
- abstractmethod BaseParametrization.update_structure(fdtd_session: FdtdSession, params: ndarray, polygon_name: str | None = None) None#
Update the geometry in the FDTD simulation with new parameters.
This method updates the existing FDTD objects to reflect changes in the optimization parameters.
- 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 Override for the FDTD CAD polygon name. Used by
CombinedParametrizationto give eachClosedCurvechild a unique polygon in the shared simulation. Concrete parametrizations that don’t represent a polygon (e.g.Parametrization,Topology) accept and ignore this argument.
- fdtd_session