Navigation: Scripting Reference Manual > Functions & Subroutines > SetIthMaxwellGRINMaterial

 

SetIthMaxwellGRINMaterial

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets a particular entry in wavelength table of Maxwell GRIN material.

 

Syntax

SetIthMaxwellGRINMaterial id, nWavelenNum, wave, N0, R0

 

Parameters

id As Long

The identifier of the GRIN Material.

 

nWavelenNum As Long

The index in the wavelength table.

 

wave As Double

The new wavelength for the entry.

 

N0 As Double

The new N0 value for the entry.

 

R0 As Double

The new R0 for the entry.

 

Remarks

SetIthMaxwellGRINMaterial sets a particular entry in wavelength table of Maxwell GRIN material. The wavelength table is sorted after this subroutine is called, so the entry may not remain at index nWavelenNum in the table.

 

See Also

AppendMaxwellGRINMaterial

RemoveIthMaxwellGRINMaterial

GetIthMaxwellGRINMaterial

AddMaxwellGRINMaterial

Examples

Materials

 

 

 

 

 

Copyright © Photon Engineering, LLC