Find a better way to carry specular data from Fresnel map to SpecularSimulation
|Status:||Rejected||Start date:||05 Dec 2017|
|Target version:||Sprint 36|
Currently specular data is carried by SpecularData field (unique_ptr) in SimulationElement. This field also denotes if SimulationElement is referred to specular peak. In the case of GISAS and off-specular simulations the contents of SpecularData is never requested, but nevertheless the field in SimulationElement must be initialized. One can consider templating some methods of Simulation class and using different types of SimulationElements for different purposes.