Navigation: Scripting Reference Manual > Functions & Subroutines > AddSphericalGRINMaterial

 

AddSphericalGRINMaterial

 

Contact Us: fredsupport@photonengr.com

 

Description

Adds a new Spherical GRIN material to the Material tree.

 

Syntax

id = AddSphericalGRINMaterial ( dwave, coeffs )

 

Parameters

id (Long)

Identifier of new Spherical GRIN material.

 

dwave As Double

Wavelength associated with coeffs values.

 

coeffs() As Double

Array containing coefficients on powers of Rn.

 

 

Remarks

AddSphericalGRINMaterial adds a new Spherical GRIN material to the Materials tree. Spherical GRIN materials obey the equation

 

 

at wavelength dwave. The array coeffs holds the coefficients N0 through Nm . Therefore, coeffs should be dimensioned to have as many elements as are necessary to satisfy the desired definition of N.

 

 

See Also

AppendSphericalGRINMaterial

SetIthSphericalGRINMaterial

GetIthSphericalGRINMaterial

RemoveIthSpericalGRINMaterial

Examples

Materials

 

 

 

 

 

Copyright © Photon Engineering, LLC