BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
MaterialItem::Refractive Struct Reference

Description

Definition at line 107 of file MaterialItem.h.

Public Member Functions

 Refractive (double d, double b)
 
bool operator!= (const Refractive &o) const
 
bool operator== (const Refractive &o) const
 

Public Attributes

double beta = 0.0
 
double delta = 0.0
 

Constructor & Destructor Documentation

◆ Refractive()

MaterialItem::Refractive::Refractive ( double  d,
double  b 
)
inline

Definition at line 108 of file MaterialItem.h.

109  : delta(d)
110  , beta(b)
111  {
112  }

Member Function Documentation

◆ operator!=()

bool MaterialItem::Refractive::operator!= ( const Refractive o) const
inline

Definition at line 116 of file MaterialItem.h.

116 { return !operator==(o); }
bool operator==(const Refractive &o) const
Definition: MaterialItem.h:115

References operator==().

Here is the call graph for this function:

◆ operator==()

bool MaterialItem::Refractive::operator== ( const Refractive o) const
inline

Definition at line 115 of file MaterialItem.h.

115 { return delta == o.delta && beta == o.beta; }

References beta, and delta.

Referenced by operator!=().

Member Data Documentation

◆ beta

double MaterialItem::Refractive::beta = 0.0

Definition at line 114 of file MaterialItem.h.

Referenced by operator==().

◆ delta

double MaterialItem::Refractive::delta = 0.0

Definition at line 113 of file MaterialItem.h.

Referenced by operator==().


The documentation for this struct was generated from the following file: