finesse.solutions.array.ArraySolution.enable_update

ArraySolution.enable_update(self, detector_workspaces)

This method will setup this solution to allow for fast C access for updating the solution in simulations. It must be called before any update calls are made. This will allocate memory for the workspaces to write data too.

Parameters
detector_workspacesiterable[DetectorWorkspaces]

A collection of detector workspaces that should be called and the output saved into this solution.