BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Specular reflectometry simulation.
Holds an instrument and sample model. Computes detected intensity as function of the glancing angles alpha_i=alpha_f.
Public Member Functions | |
SpecularSimulation (const ISpecularScan &scan, const MultiLayer &sample) | |
SpecularSimulation (SpecularSimulation &&) | |
~SpecularSimulation () override | |
void | addParameterDistribution (const ParameterDistribution &par_distr) |
void | addParameterDistribution (ParameterDistribution::WhichParameter whichParameter, const IDistribution1D &distribution, size_t nbr_samples, double sigma_factor=0.0, const RealLimits &limits=RealLimits()) |
std::string | className () const final |
bool | force_polarized () const override |
Force polarized computation even in absence of sample magnetization or external fields. More... | |
size_t | intensityMapSize () const override |
Returns the total number of the intensity values in the simulation result. More... | |
SimulationOptions & | options () |
const SimulationOptions & | options () const |
void | setBackground (const IBackground &bg) |
void | setTerminalProgressMonitor () |
SimulationResult | simulate () |
Run a simulation, and return the result. More... | |
SpecularSimulation::SpecularSimulation | ( | const ISpecularScan & | scan, |
const MultiLayer & | sample | ||
) |
|
override |
SpecularSimulation::SpecularSimulation | ( | SpecularSimulation && | ) |
|
inherited |
|
inherited |
|
final |
|
overridevirtual |
Force polarized computation even in absence of sample magnetization or external fields.
Implements ISimulation.
|
override |
Returns the total number of the intensity values in the simulation result.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Run a simulation, and return the result.