Navigation: Scripting Reference Manual > Functions & Subroutines > AddSelfocGRINMaterial

 

AddSelfocGRINMaterial

 

Contact Us: fredsupport@photonengr.com

 

Description

Adds a Selfoc GRIN material to the FRED model with parameters defined at one wavelength.

 

Syntax

id = AddSelfocGRINMaterial ( wave, coefs )

 

Parameters

id (Long)

The identifier of the added GRIN material.

 

wave As Double

The first wavelength for the GRIN material.

 

coefs() As Double

Array containing the Selfoc coefficients at the wavelength wave.

 

 

Remarks

AddSelfocGRINMaterial adds a Selfoc GRIN material to the FRED model with parameters defined at one wavelength. A Selfoc GRIN material has its refractive index defined as

 

 

The array coeffs holds the values for N0 through N2m at the specified wavelength.

 

 

See Also

SetIthSelfocGRINMaterial

AppendSelfocGRINMaterial

RemoveIthSelfocGRINMaterial

GetIthSelfocGRINMaterial

Examples

Materials

 

 

 

 

 

Copyright © Photon Engineering, LLC