Navigation: Scripting Reference Manual > Functions & Subroutines > EnergyDensityToFileAS

 

EnergyDensityToFileAS

 

Contact Us: fredsupport@photonengr.com

 

Description

Alternate form of EnergyDensityToFile. Computes the Energy Density using an Analysis Surface and writes the result either to a file or the Chart Viewer.  Depending on the number of rays traced, it may be necessary to dimension ray index and ray counter variables as data type Huge_ instead of Long.  Please see Multi-threaded Raytracing for more information.

 

Syntax

count = EnergyDensityToFileAS( anaNode, fname )

 

Parameters

count (Long or Huge_)

The number of rays included in the calculation.

 

anaNode As Long

Node number of Analysis Surface. All Ray Specifications are applied.

 

fname As String

File name where plot file is to be saved. If string is empty, results are routed directly to Chart.

 

Remarks

Computes the Energy Density using an Analysis Surface and its Ray Specification filters. The result is written to either a plot file or directly to the Chart Viewer.

 

See Also

T_ANALYSIS

Irradiance

IrradianceToFile

IrradianceToFileAS

EnergyDensity

EnergyDensityToARN

EnergyDensityToFile

ScalarField

ScalarFieldToFile

ScalarFieldToFileAS

VectorField

VectorFieldToFile

VectorFieldToFileAS

ColorImage

ColorImageToFile

ColorImageToFileAS

Intensity

IntensityToFileDAE

LoadAnalysis

SetAnalysisParameters

DisplayPlotFile

 

 

 

 

 

Copyright © Photon Engineering, LLC