15 #ifndef BORNAGAIN_CORE_MATERIAL_REFRACTIVEMATERIALIMPL_H
16 #define BORNAGAIN_CORE_MATERIAL_REFRACTIVEMATERIALIMPL_H
27 friend Material HomogeneousMaterial(
const std::string&,
double,
double,
kvector_t);
48 MATERIAL_TYPES
typeID()
const override {
return MATERIAL_TYPES::RefractiveMaterial; }
57 void print(std::ostream& ostr)
const override;
Defines magnetic material base implementation.
Defines and implements class Material.
Basic implementation for magnetized material.
kvector_t magnetization() const override final
Returns the magnetization (in A/m)
A wrapper for underlying material implementation.
Material implementation based on refractive coefficiencts (valid for one wavelength value only)
complex_t refractiveIndex2(double wavelength) const override
Returns squared refractive index.
complex_t materialData() const override
Returns underlying material data.
complex_t refractiveIndex(double wavelength) const override
Returns refractive index For this particular implementation returned value does not depend on passed ...
void print(std::ostream &ostr) const override
Prints object data.
RefractiveMaterialImpl * clone() const override
Returns pointer to a copy of material.
complex_t scalarSubtrSLD(const WavevectorInfo &wavevectors) const override
Returns ( - sld), sld (in ) being the scattering length density.
MATERIAL_TYPES typeID() const override
Returns type of material implementation.
Holds all wavevector information relevant for calculating form factors.