BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Provides scalar DWBA computation for given IFormFactor. More...
Public Member Functions | |
ComputeDWBA (const IFormFactor &ff) | |
~ComputeDWBA () override | |
virtual double | bottomZ (const IRotation &rotation) const |
ComputeDWBA * | clone () const override |
complex_t | evaluate (const WavevectorInfo &wavevectors) const override |
Returns the coherent sum of the four DWBA terms for scalar scattering. More... | |
virtual Eigen::Matrix2cd | evaluatePol (const WavevectorInfo &wavevectors) const |
Returns scattering amplitude for matrix interactions. More... | |
virtual double | radialExtension () const |
virtual void | setAmbientMaterial (const Material &material) |
void | setSpecularInfo (std::unique_ptr< const ILayerRTCoefficients > p_in_coeffs, std::unique_ptr< const ILayerRTCoefficients > p_out_coeffs) override |
Sets reflection/transmission info. More... | |
virtual double | topZ (const IRotation &rotation) const |
virtual double | volume () const |
Protected Attributes | |
std::unique_ptr< IFormFactor > | m_ff |
Private Attributes | |
std::unique_ptr< const ILayerRTCoefficients > | m_in_coeffs |
std::unique_ptr< const ILayerRTCoefficients > | m_out_coeffs |
Friends | |
class | TestPolarizedDWBATerms |
Provides scalar DWBA computation for given IFormFactor.
Definition at line 32 of file ComputeDWBA.h.
ComputeDWBA::ComputeDWBA | ( | const IFormFactor & | ff | ) |
|
overridedefault |
|
virtualinherited |
|
overridevirtual |
Implements IComputeFF.
Definition at line 24 of file ComputeDWBA.cpp.
References ComputeDWBA(), IComputeFF::m_ff, m_in_coeffs, m_out_coeffs, and setSpecularInfo().
|
overridevirtual |
Returns the coherent sum of the four DWBA terms for scalar scattering.
Implements IComputeFF.
Definition at line 35 of file ComputeDWBA.cpp.
References WavevectorInfo::getKf(), WavevectorInfo::getKi(), IComputeFF::m_ff, m_in_coeffs, m_out_coeffs, BasicVector3D< T >::setZ(), WavevectorInfo::wavelength(), and BasicVector3D< T >::z().
|
virtualinherited |
Returns scattering amplitude for matrix interactions.
Reimplemented in ComputeDWBAPol, and ComputeBAPol.
Definition at line 49 of file IComputeFF.cpp.
|
virtualinherited |
Definition at line 34 of file IComputeFF.cpp.
References IComputeFF::m_ff.
|
virtualinherited |
Definition at line 24 of file IComputeFF.cpp.
References IComputeFF::m_ff.
|
overridevirtual |
Sets reflection/transmission info.
Reimplemented from IComputeFF.
Definition at line 72 of file ComputeDWBA.cpp.
References m_in_coeffs, and m_out_coeffs.
Referenced by clone().
|
virtualinherited |
Definition at line 44 of file IComputeFF.cpp.
References IComputeFF::m_ff.
|
virtualinherited |
Definition at line 29 of file IComputeFF.cpp.
References IComputeFF::m_ff.
|
friend |
Definition at line 45 of file ComputeDWBA.h.
|
protectedinherited |
Definition at line 64 of file IComputeFF.h.
Referenced by IComputeFF::bottomZ(), ComputeBA::clone(), ComputeBAPol::clone(), clone(), ComputeDWBAPol::clone(), ComputeBA::evaluate(), evaluate(), ComputeBAPol::evaluatePol(), ComputeDWBAPol::evaluatePol(), IComputeFF::radialExtension(), IComputeFF::setAmbientMaterial(), IComputeFF::topZ(), and IComputeFF::volume().
|
private |
Definition at line 48 of file ComputeDWBA.h.
Referenced by clone(), evaluate(), and setSpecularInfo().
|
private |
Definition at line 49 of file ComputeDWBA.h.
Referenced by clone(), evaluate(), and setSpecularInfo().