27 , m_hurstParameter(hurstParameter)
28 , m_lateralCorrLength(lateralCorrLength)
50 double Qpar2 = kvec.x() * kvec.x() + kvec.y() * kvec.y();
52 * std::pow((1.0 + Qpar2 * clength2), (-1 -
H));
61 double R = sqrt(k.x() * k.x() + k.y() * k.y());
Defines M_PI and some more mathematical constants.
Defines class LayerRoughness.
Defines class RealLimits.
A roughness of interface between two layers.
double spectralFunction(R3 kvec) const
Returns power spectral density of the surface roughness.
double m_hurstParameter
Hurst parameter which describes how jagged the interface, 0<H<=1.
double m_lateralCorrLength
lateral correlation length of the roughness
double m_sigma
rms of roughness
std::string pythonConstructor() const
Creates the Python constructor of this class.
double corrFunction(R3 k) const
Correlation function of the roughness profile.
void check(const std::string &name, double value) const
Throws if value is outside limits. Parameter 'name' is for exception message.
static RealLimits nonnegative()
Creates an object which can have only positive values with 0. included.
std::string printFunction(const std::string &name, const std::vector< std::pair< double, std::string >> &arguments)
Print a function in the form "<name>(<arguments>)". arguments will be processed by printArguments(),...