Description Data structure containing the statistical analysis results on the data contained in a 3D Grid Wall ARN.
Syntax Type T_ARN_3DGRIDWALL_CELL_STATS AvgCellAbsorbedFlux As Double AvgCellInFlux As Double AvgCellOutFlux As Double CountOfNonZeroAbsorbedFluxCells As Long CountOfNonZeroInFluxCells As Long CountOfNonZeroOutFluxCells As Long MaxCellAbsorbedFlux As Double MaxCellAbsorbedFluxIdxA As Long MaxCellAbsorbedFluxIdxB As Long MaxCellAbsorbedFluxIdxC As Long MaxCellInFlux As Double MaxCellInFluxIdxA As Long MaxCellInFluxIdxB As Long MaxCellInFluxIdxC As Long MaxCellOutFlux As Double MaxCellOutFluxIdxA As Long MaxCellOutFluxIdxB As Long MaxCellOutFluxIdxC As Long End Type
Members AvgCellAbsorbedFlux As Double Average absorbed flux cell value.
AvgCellInFlux As Double Average InFlux cell value.
AvgCellOutFlux As Double Average OutFlux cell value.
CountOfNonZeroAbsorbedFluxCells As Long Count of the number of cells containing non-zero absorbed flux values.
CountOfNonZeroInFluxCells As Long Count of the number of cells containing non-zero InFlux values.
CountOfNonZeroOutFluxCells As Long Count of the number of cells containing non-zero OutFlux values.
MaxCellAbsorbedFlux As Double Maximum absorbed flux value in the 3D Grid Wall data.
MaxCellAbsorbedFluxIdxA As Long Cell A axis index containing the maximum absorbed flux value in the 3D Grid Wall data.
MaxCellAbsorbedFluxIdxB As Long Cell B axis index containing the maximum absorbed flux value in the 3D Grid Wall data.
MaxCellAbsorbedFluxIdxC As Long Cell C axis index containing the maximum absorbed flux value in the 3D Grid Wall data.
MaxCellInFlux As Double Maximum InFlux value in the 3D Grid Wall data.
MaxCellInFluxIdxA As Long Cell A axis index containing the maximum InFlux value in the 3D Grid Wall data.
MaxCellInFluxIdxB As Long Cell B axis index containing the maximum InFlux value in the 3D Grid Wall data.
MaxCellInFluxIdxC As Long Cell C axis index containing the maximum InFlux value in the 3D Grid Wall data.
MaxCellOutFlux As Double Maximum OutFlux value in the 3D Grid Wall data.
MaxCellOutFluxIdxA As Long Cell A axis index containing the maximum OutFlux value in the 3D Grid Wall data.
MaxCellOutFluxIdxB As Long Cell B axis index containing the maximum OutFlux value in the 3D Grid Wall data.
MaxCellOutFluxIdxC As Long Cell C axis index containing the maximum OutFlux value in the 3D Grid Wall data.
Example The following example performs a raytrace and then calculates and prints some statistical information about the data. Sub Main()
ClearOutputWindow
'Delete existing rays and ARNs, trace new rayset EnableTextPrinting False DeleteRays() ARNDeleteAllNodes() TraceCreate EnableTextPrinting True
'Retrieve the ARN created by 3D Box detector entity Dim Box3dDe As Long, arnNode As Long Box3dDe = FindFullName( "Analysis Surface(s).Detector Entity - 3x3" ) arnNode = DEGetMostRecentARNNum( Box3dDe )
'Calculate statistics Dim arn3Dstats As T_ARN_3DGRIDWALL_CELL_STATS ARNCompute3DGridWallCellStatistics(arnNode, arn3Dstats)
'Print summary out Print "3D Box Statistics:" Print Chr(9) & "Average Cell Abs." & Chr(9) & arn3Dstats.AvgCellAbsorbedFlux Print Chr(9) & "Average Cell InFlux" & Chr(9) & arn3Dstats.AvgCellInFlux Print Chr(9) & "Average Cell OutFlux" & Chr(9) & arn3Dstats.AvgCellOutFlux
End Sub
See Also
|