BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
anonymous_namespace{RoughMultiLayerComputation.cpp} Namespace Reference

Functions

complex_t h_plus (complex_t z)
 
complex_t h_min (complex_t z)
 

Function Documentation

◆ h_plus()

complex_t anonymous_namespace{RoughMultiLayerComputation.cpp}::h_plus ( complex_t  z)

Definition at line 33 of file RoughMultiLayerComputation.cpp.

34 {
35  return 0.5 * cerfcx(-mul_I(z) / std::sqrt(2.0));
36 }
complex_t mul_I(complex_t z)
Returns product I*z, where I is the imaginary unit.
Definition: Complex.h:24

References mul_I().

Referenced by RoughMultiLayerComputation::get_sum8terms().

Here is the call graph for this function:

◆ h_min()

complex_t anonymous_namespace{RoughMultiLayerComputation.cpp}::h_min ( complex_t  z)

Definition at line 37 of file RoughMultiLayerComputation.cpp.

38 {
39  return 0.5 * cerfcx(mul_I(z) / std::sqrt(2.0));
40 }

References mul_I().

Referenced by RoughMultiLayerComputation::get_sum8terms().

Here is the call graph for this function: