Navigation: Scripting Reference Manual > Functions & Subroutines > SetSourcePhase

 

SetSourcePhase

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the amount of additional phase that is added to the source.

 

Syntax

SetSourcePhase n, phase

 

Parameters

n As Long

Node number of the source.

 

phase As Double

The amount of phase, measured in waves, to add to the source.

 

Remarks

This subroutine sets the amount of additional phase that is added to the source. If there is a problem the subroutine returns without modifying the source or setting an error.

 

See Also

AddSource

GetSourcePhase

Examples

Sources

 

 

 

 

 

Copyright © Photon Engineering, LLC