MediumTensor

The rows of the tensor defined using media.

Example

app = cf.GetApplication()
project = app:NewProject()

    -- Create an anisotropic 3D medium using a full tensor definition

dielUU = project.Media:AddDielectric()
dielUU.Label = "dielUU"
dielVV = project.Media:AddDielectric()
dielVV.Label = "dielVV"
dielNN = project.Media:AddDielectric()
dielNN.Label = "dielNN"

freeSpace = project.Media:GetFreeSpace()

properties = cf.AnisotropicDielectric.GetDefaultProperties()
properties.FullTensor.RowU.ColumnU = dielUU
properties.FullTensor.RowV.ColumnU = freeSpace
properties.FullTensor.RowN.ColumnU = freeSpace
properties.FullTensor.RowU.ColumnV = freeSpace
properties.FullTensor.RowV.ColumnV = dielVV
properties.FullTensor.RowN.ColumnV = freeSpace
properties.FullTensor.RowU.ColumnN = freeSpace
properties.FullTensor.RowV.ColumnN = freeSpace
properties.FullTensor.RowN.ColumnN = dielNN
properties.TensorDescription = cf.Enums.TensorDescriptionMethodEnum.FullTensor
anisotropicDielectric = project.Media:AddAnisotropicDielectric(properties)

Usage locations (object properties)

The following objects have properties using the MediumTensor object:

Property List

RowN
The N row of the tensor defined using media. (Read only MediumRow)
RowU
The U row of the tensor defined using media. (Read only MediumRow)
RowV
The V row of the tensor defined using media. (Read only MediumRow)

Property Details

RowN
The N row of the tensor defined using media.
Type
MediumRow
Access
Read only
RowU
The U row of the tensor defined using media.
Type
MediumRow
Access
Read only
RowV
The V row of the tensor defined using media.
Type
MediumRow
Access
Read only