BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
GISASSpecularComputation.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file Core/Computation/GISASSpecularComputation.h
6 //! @brief Defines class GISASSpecularComputation.
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2018
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifdef SWIG
16 #error no need to expose this header to Swig
17 #endif
18 
19 #ifndef USER_API
20 #ifndef BORNAGAIN_CORE_COMPUTATION_GISASSPECULARCOMPUTATION_H
21 #define BORNAGAIN_CORE_COMPUTATION_GISASSPECULARCOMPUTATION_H
22 
23 class IFresnelMap;
24 class SimulationElement;
25 
26 //! Computes the specular signal in the bin where q_parallel = 0. Used by DWBAComputation.
27 //! @ingroup algorithms_internal
28 
30 public:
31  GISASSpecularComputation(const IFresnelMap* p_fresnel_map);
32 
33  void compute(SimulationElement& elem) const;
34 
35 private:
37 };
38 
39 #endif // BORNAGAIN_CORE_COMPUTATION_GISASSPECULARCOMPUTATION_H
40 #endif // USER_API
Computes the specular signal in the bin where q_parallel = 0.
void compute(SimulationElement &elem) const
GISASSpecularComputation(const IFresnelMap *p_fresnel_map)
Holds the necessary information to calculate the radiation wavefunction in every layer for different ...
Definition: IFresnelMap.h:34
Data stucture containing both input and output of a single detector cell.