BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Public Member Functions | |
DepthProbeComputationTerm (const ProcessedSample *p_sample) | |
~DepthProbeComputationTerm () | |
void | setProgressHandler (ProgressHandler *p_progress) |
void | compute (DepthProbeElement &elem) const |
Private Attributes | |
const ProcessedSample * | mp_sample |
std::unique_ptr< DelayedProgressCounter > | mP_progress_counter |
Definition at line 25 of file DepthProbeComputationTerm.h.
DepthProbeComputationTerm::DepthProbeComputationTerm | ( | const ProcessedSample * | p_sample | ) |
Definition at line 23 of file DepthProbeComputationTerm.cpp.
|
default |
void DepthProbeComputationTerm::setProgressHandler | ( | ProgressHandler * | p_progress | ) |
Definition at line 30 of file DepthProbeComputationTerm.cpp.
References mP_progress_counter.
Referenced by DepthProbeComputation::runProtected().
void DepthProbeComputationTerm::compute | ( | DepthProbeElement & | elem | ) | const |
Definition at line 35 of file DepthProbeComputationTerm.cpp.
References exp_I(), ProcessedSample::fresnelMap(), IFresnelMap::getInCoefficients(), DepthProbeElement::getZPositions(), DepthProbeElement::isCalculated(), mP_progress_counter, mp_sample, ProcessedSample::numberOfSlices(), DepthProbeElement::setIntensities(), IAxis::size(), ProcessedSample::sliceBottomZ(), and ProcessedSample::sliceTopZ().
Referenced by DepthProbeComputation::runProtected().
|
private |
Definition at line 36 of file DepthProbeComputationTerm.h.
Referenced by compute().
|
private |
Definition at line 37 of file DepthProbeComputationTerm.h.
Referenced by compute(), and setProgressHandler().