ZeroMedium
A non-physical medium that can be used with 3D anisotropic media. It represents no coupling to the particular tensor component.
Example
app = cf.GetApplication() project = app:NewProject() -- Get a reference to the zero medium for use in a 3D anisotropic medium zeroMedium = project.Media:GetZero() -- Create a full tensor defined anisotropic 3D medium with zeros on the off diagonal dielUU = project.Media:AddDielectric() dielUU.Label = "dielUU" dielVV = project.Media:AddDielectric() dielVV.Label = "dielVV" dielNN = project.Media:AddDielectric() dielNN.Label = "dielNN" properties = cf.AnisotropicDielectric.GetDefaultProperties() properties.FullTensor.RowU.ColumnU = dielUU properties.FullTensor.RowV.ColumnU = zeroMedium properties.FullTensor.RowN.ColumnU = zeroMedium properties.FullTensor.RowU.ColumnV = zeroMedium properties.FullTensor.RowV.ColumnV = dielVV properties.FullTensor.RowN.ColumnV = zeroMedium properties.FullTensor.RowU.ColumnN = zeroMedium properties.FullTensor.RowV.ColumnN = zeroMedium properties.FullTensor.RowN.ColumnN = dielNN properties.TensorDescription = cf.Enums.TensorDescriptionMethodEnum.FullTensor anisotropicDielectric = project.Media:AddAnisotropicDielectric(properties)
Inheritance
The ZeroMedium object is derived from the Medium object.
Property List
Method List
- AddToLibrary ()
- Add the medium to the media library.
- Delete ()
- Delete the medium.
- SetNotSuspect ()
- Reset the suspect setting on the medium.
Property Details
Method Details
- AddToLibrary ()
- Add the medium to the media library.
- Delete ()
- Delete the medium.
- SetNotSuspect ()
- Reset the suspect setting on the medium.