Bug #2442

Roughness on first semi-infinite layer

Added by rbeerwerth 3 months ago. Updated 3 months ago.

Status:ResolvedStart date:16 Apr 2020
Priority:NormalDue date:
Assignee:rbeerwerth% Done:

0%

Category:-
Target version:Sprint 43

Description

It is possible to ask BornAgain to create a rough interface for the first semi-infinite layer.

roughness = ba.LayerRoughness()
roughness.setSigma(1 * angstrom)

m_ti = ba.MaterialBySLD("Ti", -1.9493e-06, 0)
ti_layer = ba.Layer(m_ti, 0 * angstrom)

multi_layer = ba.MultiLayer()
multi_layer.addLayerWithTopRoughness(ti_layer, roughness)

This is silently discarded, instead i would suggest to throw an exception similar to the case when the first layer is requested to have a non-zero thickness.

History

#1 Updated by pospelov 3 months ago

  • Status changed from New to Sprint
  • Target version set to Sprint 43

Agree, moving to sprint.

#2 Updated by rbeerwerth 3 months ago

  • Assignee set to rbeerwerth

#3 Updated by rbeerwerth 3 months ago

  • Status changed from Sprint to Resolved

Also available in: Atom PDF