periodic{ }#

Calling sequence

global{ periodic{ } }

Properties

  • usage: \(\mathrm{\textcolor{Dandelion}{conditional}}\)

  • items: maximum 1

Dependencies

Functionality

When defined, allows triggering periodic boundary conditions for the entire simulation domain along selected directions of the simulation coordinate system. These boundary conditions are applied to strain, electrostatic field (the Poisson equation), and wave functions (the Schrödinger equation) overwriting all the other possible definitions already present in the input file.

Note

The periodic boundary conditions will be imposed on the Schrödinger equation only if related quantum region extends over the entire simulation domain along the relevant direction.

Note

Shapes defining the layout of materials (structure{ region{} } - shape objects) which extends beyond the defined simulation domain are not automatically continued on the opposite side of the simulation domain.

Example

global{
    simulate1D{}
    periodic{
        x = yes
    }
    ...
}
global{
    simulate2D{}
    periodic{
        x = no
        y = yes
    }
    ...
}
global{
    simulate3D{}
    periodic{
        x = yes
        y = no
        z = yes
    }
    ...
}

Nested keywords


x#

Calling sequence

global{ periodic{ x = ... } }

Properties

  • usage: \(\mathrm{\textcolor{WildStrawberry}{required}}\)

  • type: choice

  • values: yes or no

  • default: no

Functionality

If x = yes then the periodic boundary conditions are applied along the x-axis of the simulation coordinate system to the most outer points of the grid. Otherwise, other default or defined elsewhere boundary conditions apply.


y#

Calling sequence

global{ periodic{ y = ... } }

Properties

  • usage: \(\mathrm{\textcolor{Dandelion}{conditional}}\)

  • type: choice

  • values: yes or no

  • default: no

Dependencies

Functionality

If y = yes then the periodic boundary conditions are applied along the y-axis of the simulation coordinate system to the most outer points of the grid. Otherwise, other default or defined elsewhere boundary conditions apply.

Example

global{
    simulate2D{}
    periodic{
        x = no
        y = yes
    }
    ...
}

z#

Calling sequence

global{ periodic{ z = ... } }

Properties

  • usage: \(\mathrm{\textcolor{Dandelion}{conditional}}\)

  • type: choice

  • values: yes or no

  • default: no

Dependencies

Functionality

If z = yes then the periodic boundary conditions are applied along the z-axis of the simulation coordinate system to the most outer points of the grid. Otherwise, other default or defined elsewhere boundary conditions apply.