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 keyword Layout and following specifications in curly brackets.

Layout {
  ...
}

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 extruding 2D object in the third dimension. 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:

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