MaterialConstringence#

class ansys.speos.core.input_files.material.MaterialConstringence(constringence=57.2, index=1.49)#

Bases: ansys.speos.core.input_files._base._ValueComparable

Dispersion of a volume material given by its index and its Abbe number.

Parameters:
constringencefloat, optional

Abbe number, measured with the refractive index at the 587.5618 nm helium line. By default, 57.2.

indexfloat, optional

Refractive index at 587.6 nm. By default, 1.49.

Parameters:

Overview#

validate

Check the finite dispersion parameters.

constringence

Abbe number.

index

Refractive index at 587.6 nm.

KEYWORD

Keyword identifying the model in a *.material file.

Import detail#

from ansys.speos.core.input_files.material import MaterialConstringence

Property detail#

property MaterialConstringence.constringence: float#

Abbe number.

Parameters:
valuefloat

New abbe number, measured with the refractive index at the 587.5618 nm helium line.

Returns:
float

Finite constringence value.

property MaterialConstringence.index: float#

Refractive index at 587.6 nm.

Parameters:
valuefloat

New refractive index at 587.6 nm.

Returns:
float

Finite refractive index.

Attribute detail#

MaterialConstringence.KEYWORD: ClassVar[str] = 'Constringence'#

Keyword identifying the model in a *.material file.

Method detail#

MaterialConstringence.validate()#

Check the finite dispersion parameters.

Raises:
ValueError

If a parameter is nonfinite.