BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
MaterialUtils.h File Reference

Declares functions in namespace MaterialUtils. More...

Include dependency graph for MaterialUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 MaterialUtils
 A number of materials-related helper functions for internal use.
 

Macros

#define BORNAGAIN_SAMPLE_MATERIAL_MATERIALUTILS_H
 

Functions

MATERIAL_TYPES MaterialUtils::checkMaterialTypes (const std::vector< const Material * > &materials)
 Checks if all non-default materials in materials are of the same type and returns this type. More...
 
template<typename T >
Eigen::Matrix2cd MaterialUtils::MagnetizationCorrection (complex_t unit_factor, double magnetic_factor, BasicVector3D< T > polarization)
 
Eigen::Matrix2cd MaterialUtils::PolarizedReducedPotential (complex_t n, kvector_t b_field, kvector_t k, double n_ref)
 Function for calculating the reduced potential, used for obtaining the Fresnel coefficients (polarized material case) More...
 
complex_t MaterialUtils::ScalarReducedPotential (complex_t n, kvector_t k, double n_ref)
 Function for calculating the reduced potential, used for obtaining the Fresnel coefficients (non-polarized material case) More...
 

Detailed Description

Declares functions in namespace MaterialUtils.

Homepage:\n http://www.bornagainproject.org
License:\n GNU General Public License v3 or higher (see COPYING)
Authors
Scientific Computing Group at MLZ (see CITATION, AUTHORS)

Definition in file MaterialUtils.h.

Macro Definition Documentation

◆ BORNAGAIN_SAMPLE_MATERIAL_MATERIALUTILS_H

#define BORNAGAIN_SAMPLE_MATERIAL_MATERIALUTILS_H

Definition at line 21 of file MaterialUtils.h.