| BornAgain
    1.19.0
    Simulate and fit neutron and x-ray scattering at grazing incidence | 
A wrapper for underlying material implementation. More...
 Inheritance diagram for Material:
 Inheritance diagram for Material:| Public Member Functions | |
| Material (const Material &material) | |
| std::string | getName () const | 
| Returns the name of material. | |
| Material | inverted () const | 
| Constructs a material with inverted magnetization. | |
| bool | isDefaultMaterial () const | 
| Returns true if material has refractive index of (1.0, 0.0) and zero magnetization. | |
| bool | isEmpty () const | 
| Returns true if material underlying data is nullptr. | |
| bool | isMagneticMaterial () const | 
| bool | isScalarMaterial () const | 
| Indicates whether the interaction with the material is scalar.  More... | |
| kvector_t | magnetization () const | 
| Get the magnetization (in A/m) | |
| complex_t | materialData () const | 
| Returns underlying material data.  More... | |
| Material & | operator= (const Material &other) | 
| complex_t | refractiveIndex (double wavelength) const | 
| Returns refractive index. | |
| complex_t | refractiveIndex2 (double wavelength) const | 
| Returns squared refractive index. | |
| Material | rotatedMaterial (const Transform3D &transform) const | 
| complex_t | scalarSubtrSLD (const WavevectorInfo &wavevectors) const | 
| Returns (  - sld), sld (in  ) being the scattering length density. | |
| Friends | |
| std::ostream & | operator<< (std::ostream &ostr, const Material &mat) | 
A wrapper for underlying material implementation.
| bool Material::isScalarMaterial | ( | ) | const | 
Indicates whether the interaction with the material is scalar.
This means that different polarization states will be diffracted equally
| complex_t Material::materialData | ( | ) | const | 
Returns underlying material data.
The units of returned values are the same as the ones passed to material factory functions