ComplexTensor
The rows of the tensor defined using complex expressions.
Example
app = cf.GetApplication() project = app:NewProject() -- Create an anisotropic 3D medium using a complex tensor definition properties = cf.AnisotropicDielectric.GetDefaultProperties() properties.TensorDescription = cf.Enums.TensorDescriptionMethodEnum.ComplexTensor -- Permittivity properties.ComplexTensor.Permittivity.RowU.ColumnU = "14.5 + j*0.0" properties.ComplexTensor.Permittivity.RowU.ColumnV = "0.0 + j*0.0" properties.ComplexTensor.Permittivity.RowU.ColumnN = "0.0 + j*0.0" properties.ComplexTensor.Permittivity.RowV.ColumnU = "0.0 + j*0.0" properties.ComplexTensor.Permittivity.RowV.ColumnV = "14.5 + j*0.0" properties.ComplexTensor.Permittivity.RowV.ColumnN = "0.0 + j*0.0" properties.ComplexTensor.Permittivity.RowN.ColumnU = "0.0 + j*0.0" properties.ComplexTensor.Permittivity.RowN.ColumnV = "0.0 + j*0.0" properties.ComplexTensor.Permittivity.RowN.ColumnN = "14.5 + j*0.0" -- Permeability properties.ComplexTensor.Permeability.RowU.ColumnU = "0.998 + j*0.0" properties.ComplexTensor.Permeability.RowU.ColumnV = "0.0 - j*0.008" properties.ComplexTensor.Permeability.RowU.ColumnN = "0.0 + j*0.0" properties.ComplexTensor.Permeability.RowV.ColumnU = "0.0 + j*0.008" properties.ComplexTensor.Permeability.RowV.ColumnV = "0.998 + j*0.0" properties.ComplexTensor.Permeability.RowV.ColumnN = "0.0 + j*0.0" properties.ComplexTensor.Permeability.RowN.ColumnU = "0.0 + j*0.0" properties.ComplexTensor.Permeability.RowN.ColumnV = "0.0 + j*0.0" properties.ComplexTensor.Permeability.RowN.ColumnN = "1.0 + j*0.0" anisotropicDielectric = project.Media:AddAnisotropicDielectric(properties) -- Change the colour to Cyan anisotropicDielectric.Colour = "#00FFFF"
Usage locations (object properties)
The following objects have properties using the ComplexTensor object:
Property List
- Permeability
- Defines the complex expressions of the permeability tensor definition. (Read only ExpressionTensor)
- Permittivity
- Defines the complex expressions of the permittivity tensor definition. (Read only ExpressionTensor)
Property Details
- Permeability
- Defines the complex expressions of the permeability tensor definition.
- Type
- ExpressionTensor
- Access
- Read only
- Permittivity
- Defines the complex expressions of the permittivity tensor definition.
- Type
- ExpressionTensor
- Access
- Read only