The Layout1D section is used to define layered media or multi layer in x direction, i.e. a sequence of layers invariant in y and z direction. It is defined in the file layout.jcm. An arbitrary number of layers can be defined, labeled, attributed with constraints for meshing and boundary conditions.

A Layout1D section for a layered medium looks like this:

Layout1D {
  UnitOfLength = 1e-9
  Name = "LayerStack"
  BoundaryClassLeft = Transparent
  BoundaryClassRight = Transparent
  LeftPosition = 0.0
  DomainIds = [1 2 3 4]
  MaximumSideLengths = [40 20]
  Thicknesses = [600 300 ]

This layout describes a stack of two layers with DomainIds=[2 3], of 600 nm and 300 nm thickness respectively, enclosed by infinite half-spaces with DomainId=1 to the left and DomainId=4 to the right. The begin of the stack is set to the origin at x=0.0. Setting BoundaryClassLeft and BoundaryClassRight to Transparent ensures the use of transparent boundary conditions at each end of the stack. The MaximumSideLengths provided are used to adapt the mesh finesse in each layer.


The length of the vectors provided for Thicknesses and MaximumSideLengths must match. Depending on the boundary conditions employed, one or two additional entries are expected in DomainIds.