ExpressionTensor

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)

Usage locations (object properties)

The following objects have properties using the ExpressionTensor object:

Property List

RowN
The N row of the tensor defined using complex expressions. (Read only ExpressionRow)
RowU
The U row of the tensor defined using complex expressions. (Read only ExpressionRow)
RowV
The V row of the tensor defined using complex expressions. (Read only ExpressionRow)

Property Details

RowN
The N row of the tensor defined using complex expressions.
Type
ExpressionRow
Access
Read only
RowU
The U row of the tensor defined using complex expressions.
Type
ExpressionRow
Access
Read only
RowV
The V row of the tensor defined using complex expressions.
Type
ExpressionRow
Access
Read only