CSPropDispersiveMaterial

class CSXCAD.CSProperties.CSPropDispersiveMaterial

Bases: CSPropMaterial

GetDispersiveMaterialProperty(prop_name, order)

Get the dispersive material property of type prop_name and for order order.

Params prop_name:

str – material property type

Params order:

int – material property order

Returns:

float for isotropic material or else (3,) array

GetDispersiveMaterialWeight(prop_name, order)

Get the dispersive material weighting function(s) for order order.

Params prop_name:

str – material property type

Params order:

int – material property order

Returns:

str for isotropic material and density or else str array

SetDispersiveMaterialProperty(order, **kw)

Set the dispersive material properties for order order.

Params order:

int - material property order

Params epsilon:

scalar or vector - relative electric permittivity

Params mue:

scalar or vector - relative magnetic permeability

Params kappa:

scalar or vector - electric conductivity

Params sigma:

scalar or vector - magnetic conductivity

Params density:

float - Density

SetDispersiveMaterialWeight(order, **kw)

Set the dispersive material weighting function(s) for order order.

The weighting functions are given as strings and are evaluated by the internal function parser.

Params order:

int – material property order