BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Class that handles all the computations involved in GISAS (particles, roughness,...) for a single detector bin. More...
Public Member Functions | |
DWBASingleComputation () | |
~DWBASingleComputation () | |
void | addLayoutComputation (ParticleLayoutComputation *p_layout_comp) |
void | compute (SimulationElement &elem) const |
void | setProgressHandler (ProgressHandler *p_progress) |
void | setRoughnessComputation (RoughMultiLayerComputation *p_roughness_comp) |
void | setSpecularBinComputation (GISASSpecularComputation *p_spec_comp) |
Private Attributes | |
std::vector< std::unique_ptr< ParticleLayoutComputation > > | m_layout_comps |
std::unique_ptr< DelayedProgressCounter > | m_progress_counter |
std::map< size_t, std::vector< HomogeneousRegion > > | m_region_map |
std::unique_ptr< RoughMultiLayerComputation > | m_roughness_comp |
std::unique_ptr< GISASSpecularComputation > | m_spec_comp |
Class that handles all the computations involved in GISAS (particles, roughness,...) for a single detector bin.
Called by DWBASimulation on each detector bin.
Definition at line 42 of file DWBASingleComputation.h.
|
default |
|
default |
void DWBASingleComputation::addLayoutComputation | ( | ParticleLayoutComputation * | p_layout_comp | ) |
Definition at line 30 of file DWBASingleComputation.cpp.
References m_layout_comps, m_region_map, and ParticleLayoutComputation::mergeRegionMap().
Referenced by DWBAComputation::DWBAComputation().
void DWBASingleComputation::compute | ( | SimulationElement & | elem | ) | const |
Definition at line 46 of file DWBASingleComputation.cpp.
References m_layout_comps, m_progress_counter, m_roughness_comp, and m_spec_comp.
Referenced by DWBAComputation::runProtected().
void DWBASingleComputation::setProgressHandler | ( | ProgressHandler * | p_progress | ) |
Definition at line 25 of file DWBASingleComputation.cpp.
References m_progress_counter.
Referenced by DWBAComputation::runProtected().
void DWBASingleComputation::setRoughnessComputation | ( | RoughMultiLayerComputation * | p_roughness_comp | ) |
Definition at line 36 of file DWBASingleComputation.cpp.
References m_roughness_comp.
Referenced by DWBAComputation::DWBAComputation().
void DWBASingleComputation::setSpecularBinComputation | ( | GISASSpecularComputation * | p_spec_comp | ) |
Definition at line 41 of file DWBASingleComputation.cpp.
References m_spec_comp.
Referenced by DWBAComputation::DWBAComputation().
|
private |
Definition at line 55 of file DWBASingleComputation.h.
Referenced by addLayoutComputation(), and compute().
|
private |
Definition at line 58 of file DWBASingleComputation.h.
Referenced by compute(), and setProgressHandler().
|
private |
Definition at line 59 of file DWBASingleComputation.h.
Referenced by addLayoutComputation().
|
private |
Definition at line 56 of file DWBASingleComputation.h.
Referenced by compute(), and setRoughnessComputation().
|
private |
Definition at line 57 of file DWBASingleComputation.h.
Referenced by compute(), and setSpecularBinComputation().