Replace single crossCorrelationLength parameter by CrosscorrelationModel individual for each interface
Currently there is only one replication model: CommonDepthCrosscorrelation
.
Maybe there is a better name for the class.
# Define roughness
autocorrelation_2 = ba.K_CorrelationModel(3*nm, 0.7, 25*nm)
autocorrelation_4 = ba.K_CorrelationModel(0.12*nm, 0.876, 222*nm)
autocorrelation_5 = ba.K_CorrelationModel(1*nm, 0.73, 2521*nm)
interlayer_2 = ba.TanhInterlayer()
interlayer_4 = ba.ErfInterlayer()
interlayer_5 = ba.ErfInterlayer()
crosscorrelation_1 = ba.CommonDepthCrosscorrelation(120*nm)
crosscorrelation_2 = ba.CommonDepthCrosscorrelation(231*nm)
roughness_2 = ba.LayerRoughness(autocorrelation_2, interlayer_2, crosscorrelation_1)
roughness_4 = ba.LayerRoughness(autocorrelation_4, interlayer_4, crosscorrelation_2)
roughness_5 = ba.LayerRoughness(autocorrelation_5, interlayer_5)