SphericalStructure

The spherical coordinate system source description.

Example

application = cf.Application.GetInstance()
project = application:NewProject()

    -- Create a 'NearFieldFileStructure' from a set of default properties

properties = cf.NearFieldDataFileStructure.GetDefaultProperties()
properties.CoordinateType = cf.Enums.NearFieldDataCoordinateTypeEnum.Spherical
properties.SphericalStructure.Radius = "2"
properties.SphericalStructure.ThetaPoints = "11"
properties.SphericalStructure.PhiPoints = "11"
properties.EFieldFilename = [[EFieldFileName]]
properties.HFieldFilename = [[HFieldFileName]]

nearFieldData = project.Definitions.FieldDataList:AddNearFieldDataFileStructure(properties)

    -- Change the radius of the spherical shell

nearFieldData.SphericalStructure.Radius = "4"

Inheritance

The SphericalStructure object is derived from the CompositeValue object.

Usage locations

The SphericalStructure object can be accessed from the following locations:

Property List

PhiPoints
The number of points along Phi. (Read/Write ParametricExpression)
Radius
The radius of the spherical shell. (Read/Write Dimension)
ThetaPoints
The number of points along Theta. (Read/Write ParametricExpression)

Property Details

PhiPoints
The number of points along Phi.
Type
ParametricExpression
Access
Read/Write
Radius
The radius of the spherical shell.
Type
Dimension
Access
Read/Write
ThetaPoints
The number of points along Theta.
Type
ParametricExpression
Access
Read/Write