# Configuration
The Solver Configuration tab gathers definitions regarding the mode solver simulation parameters.
# Simulation Domain
Definition of the simulation domain size.
# Center + size
Defines the mode solver simulation domain using a center position and size.
center: Center of the simulation domain in x, y, and z-directions.
Type: floating-point number
- Unit: m, μm (default), or nm
- Default: (0, 0, 0)
size: Size of the simulation domain in x, y, and z-directions.
Use Infinity to define a geometry extending to infinity in both directions along an axis.
Type: floating-point number
- Unit: m, μm (default), or nm
- Constraint: greater than or equal to 0
- Required field
# Bounds
Constructs the simulation domain from minimum and maximum coordinate bounds.
min: Values of the x, y, and z coordinates defining the simulation domain lower corner.
Type: floating-point number
- Unit: m, μm (default), or nm
- Required field
max: Values of the x, y, and z coordinates defining the simulation domain upper corner.
Type: floating-point number
- Unit: m, μm (default), or nm
- Required field
# Grid Specification
Specifications for the simulation grid along each of the three directions.
See: GridSpec
# Boundary and Symmetry
# Boundary Condition
boundary_spec: Specification of boundary conditions along each dimension.
See: BoundarySpec
# Symmetry
symmetry: Defining reflection symmetry across a plane bisecting the simulation domain normal to the x-, y-, and z-axis, respectvely.
Note: The vectorial nature of the fields must be taken into account to correctly determine the symmetry value.
Options:
- No symmetry (0 in Simulation JSON)
- Even, i.e. 'PMC' symmetry (1 in Simulation JSON)
- Odd, i.e. 'PEC' symmetry (-1 in Simulation JSON)
Default: No symmetry
# Subpixel Averaging
subpixel: If True, uses subpixel averaging of the permittivity based on structure definition, resulting in much higher accuracy for a given grid size.
Type: Boolean
- Default: True
# Structure Priority Mode
structure_priority_mode: This field only affects structures with priority set to None.
Options:
- equal (default): the priority of structures is set to 0.
- conductor: the priority of structures made of LossyMetalMedium is set to 90, PECMedium to 100, and others to 0.