NearFieldAdvancedSettings

The advanced near field settings.

Example

app = cf.GetApplication()
project = app:NewProject()
nearField = project.SolutionConfigurations[1].NearFields:AddCartesian(1,0,0,0,0,0,11,1,1)

    -- Get the NearFieldAdvancedSettings

nearFieldAdvancedSettings = nearField.Advanced

    -- Activate the calculation of the electric fields

nearFieldAdvancedSettings.CalculateElectricFields = true


Usage locations (object properties)

The following objects have properties using the NearFieldAdvancedSettings object:

Property List

CalculateElectricFields
Activate the calculation of the electric field components. Only valid if CalculationType is Fields. (Read/Write boolean)
CalculateMagneticFields
Activate the calculation of the magnetic field components. Only valid if CalculationType is Fields. (Read/Write boolean)
CalculationType
The calculation type. (Read/Write NearFieldCalculationTypeEnum)
ExportSettings
Near field export settings. (Read/Write NearFieldExportSettings)
OnlyScatteredPartCalculationEnabled
Calculate only the scattered part of the field. (Read/Write boolean)
PotentialType
The potential type. Only valid if CalculationType is Potentials. (Read/Write NearFieldPotentialTypeEnum)

Property Details

CalculateElectricFields
Activate the calculation of the electric field components. Only valid if CalculationType is Fields.
Type
boolean
Access
Read/Write
CalculateMagneticFields
Activate the calculation of the magnetic field components. Only valid if CalculationType is Fields.
Type
boolean
Access
Read/Write
CalculationType
The calculation type.
Type
NearFieldCalculationTypeEnum
Access
Read/Write
ExportSettings
Near field export settings.
Type
NearFieldExportSettings
Access
Read/Write
OnlyScatteredPartCalculationEnabled
Calculate only the scattered part of the field.
Type
boolean
Access
Read/Write
PotentialType
The potential type. Only valid if CalculationType is Potentials.
Type
NearFieldPotentialTypeEnum
Access
Read/Write