Before reflectivity or GISAS can be computed, the user-defined sample is reprocessed through several steps, as introduced in simulation analysis:
All reprocessing is launched through
ISimulation::simulate
ReSample::processedSample.This is done by
Sample::unwrapped.This is done by
::Refine::subdivideLayers if SimulationOptions::useAvgMaterials returns true;::Refine::wrapLayers else.This is done by
::Refine::refineStructsWithAvg if useAvgMaterials;::Refine::refineStructsNoAvg else.These are implemented in Resample/Refine/RefineStructsWithAvg.* and …NoAvg.*.
This is done by
::setAvgMaterials if useAvgMaterials.This is done by
::setBField.