Navigation: Scripting Reference Manual > Functions & Subroutines > CreateScriptForLumericalFromVectorFieldFile

 

CreateScriptForLumericalFromVectorFieldFile

 

Contact Us: fredsupport@photonengr.com

 

Description

Prepares a FRED vector field file for import into Lumerical's FDTD Solutions software.

 

Syntax

CreateScriptForLumericalFromVectorFieldFile fname, baseFilename

 

Parameters

fname As String

Name of vector field file created by VectorFieldToFile command.

 

baseFilename As String

Base file name applied to output.

 

Remarks

Prepares a FRED vector field file for import into Lumerical's FDTD Solutions software.  Two files are generated by this command; a text file formatted for reading by FDTD Solutions' script language and an FDTD Solutions script (*.lsf) which must be executed in FDTD Solutions. Due to limitations in the FDTD Solutions script language, this script contains a file path to the location of the formatted text file. If the script or the text file are moved to a different directory, the the Lumerical script must be edited to reflect this change.

 

See Also

VectorFieldToFile

 

 

 

 

 

Copyright © Photon Engineering, LLC