BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
GISASSpecularContribution.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file Sim/Contrib/GISASSpecularContribution.h
6 //! @brief Defines class GISASSpecularContribution.
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_SIM_CONTRIB_GISASSPECULARCONTRIBUTION_H
21 #define BORNAGAIN_SIM_CONTRIB_GISASSPECULARCONTRIBUTION_H
22 
23 class DiffuseElement;
24 
25 //! Computes the specular signal in the bin where q_parallel = 0. Used by DWBAComputation.
26 
28 public:
30 
31  void compute(DiffuseElement& ele) const;
32 };
33 
34 #endif // BORNAGAIN_SIM_CONTRIB_GISASSPECULARCONTRIBUTION_H
35 #endif // USER_API
Data stucture containing both input and output of a single detector cell.
Computes the specular signal in the bin where q_parallel = 0. Used by DWBAComputation.
void compute(DiffuseElement &ele) const
GISASSpecularContribution()=default