DielectricBoundaryMedium

A non-physical medium that can be applied to a face to describe the separation between two dielectric regions.

Example

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

    -- Create a cuboid and set the region to dielectric
    
cube1 = project.Geometry:AddCuboid(cf.Cuboid.GetDefaultProperties())
dielectric = project.Media:AddDielectric(cf.Dielectric.GetDefaultProperties())
cube1.Regions[1].Medium = dielectric

    -- Set the face media to dielectric boundary
    
cube1.Faces[1].Medium = project.Media:GetDielectricBoundary()

Inheritance

The DielectricBoundaryMedium object is derived from the Medium object.

Property List

Colour
The medium colour. (Read/Write Colour)
Label
The object label. (Read/Write string)
Suspect
Indicates whether the medium is suspect. (Read only boolean)
Type
The object type string. (Read only string)

Method List

AddToLibrary ()
Add the medium to the media library.
Delete ()
Delete the medium.
SetNotSuspect ()
Reset the suspect setting on the medium.

Property Details

Colour
The medium colour.
Type
Colour
Access
Read/Write
Label
The object label.
Type
string
Access
Read/Write
Suspect
Indicates whether the medium is suspect.
Type
boolean
Access
Read only
Type
The object type string.
Type
string
Access
Read only

Method Details

AddToLibrary ()
Add the medium to the media library.
Delete ()
Delete the medium.
SetNotSuspect ()
Reset the suspect setting on the medium.