The materials.py module#

Summary#

MaterialProperties

Store material properties.

Material

Manage EDB methods for material property management.

Materials

Manages EDB methods for material management accessible from Edb.materials property.

get_line_float_value

Retrieve the float value expected in the line of an AMAT file.

Module detail#

materials.get_line_float_value(line)#

Retrieve the float value expected in the line of an AMAT file.

The associated string is expected to follow one of the following cases: - simple(‘permittivity’, 12.) - permittivity=’12’.

materials.ATTRIBUTES = ['conductivity', 'dielectric_loss_tangent', 'magnetic_loss_tangent', 'mass_density',...#
materials.DC_ATTRIBUTES = ['dielectric_model_frequency', 'loss_tangent_at_frequency', 'permittivity_at_frequency',...#
materials.PERMEABILITY_DEFAULT_VALUE = 1#
materials.logger#
materials.PositiveFloat#