# PeriodicBoundaryPhaseShift

The phase shift to be applied in the direction of each of the vectors defining the unit-cell.

## Example

app = cf.GetApplication()
project = app:OpenFile(FEKO_HOME..
[[/shared/Resources/Automation/square_loop_antenna_MATCHED.cfx]])

-- Set up one dimensional periodic boundary condition for the model

properties = project.PeriodicBoundary:GetProperties()
properties.Dimension = cf.Enums.PeriodicBoundaryDimensionsEnum.OneDimension
properties.EndPointVectorOne.N = "0.0"
properties.EndPointVectorOne.U = "0.05"
properties.EndPointVectorOne.V = "-0.05"
properties.StartPoint.N = "0.0"
properties.StartPoint.U = "-0.05"
properties.StartPoint.V = "-0.05"
project.PeriodicBoundary:SetProperties(properties)

-- Introduce a phase shift in a vector direction

properties = project.PeriodicBoundary:GetProperties()
properties.PhaseShiftMethod = cf.Enums.PeriodicBoundaryPhaseShiftMethodEnum.SpecifyManually
properties.PhaseShift.FirstVector = 1
project.PeriodicBoundary:SetProperties(properties)

## Usage locations (object properties)

The following objects have properties using the PeriodicBoundaryPhaseShift object:

## Property List

FirstVector
The phase shift to be applied in the direction of the first vector. (Read/Write Expression)
SecondVector
The phase shift to be applied in the direction of the second vector. (Read/Write Expression)

## Property Details

FirstVector
The phase shift to be applied in the direction of the first vector.
Type
Expression
Access