Layout FileΒΆ

Learning targets

  • Input file layout.jcm
  • Unit of length

The input file layout.jcm is a text file containing the layout section, specified by the keywords Layout2D or Layout3D and following specifications in curly brackets.

Layout2D {
  ...
}

The layout section contains all information about the geometry of the simulation project. In the Layout complex geometries for JCMgeo are built from an arbitrary number of simple geometrical objects. These are parallelograms, polygons, circles and ellipses. 3D objects are constructed by either extruding 2D object in the third dimension or employing 3D geometrical objects like boxes, spheres and ellipsoids and others. Identifiers are given to the different geometrical objects which allow to attribute material and source properties (in the file materials.jcm and sources.jcm) to these regions. Further, instructions on mesh refinement in the different regions of the geometry can be specified.

The layout contains a parameter for specifying the unit of length; the parameter UnitOfLength is specified in units of meter, \units{m}. This parameter defines a scaling of all space dimensions specified in the Layout. E.g., when all definitions of the layout file should be given in nanometers, the UnitOfLength should be specified as:

Layout2D {
  UnitOfLength = 1e-9
  ...
}