pyleecan.GUI.Dialog.DMatLib.DMatSetup.DMatSetup module¶
- class DMatSetup(parent=None, material=None)[source]¶
Bases:
Gen_DMatSetup
,QDialog
- saveNeededChanged¶
- materialToDelete¶
- materialToRename¶
- materialToRevert¶
- materialToSave¶
- set_save_needed(is_save_needed=True)[source]¶
Set if there are unsaved modifications within the object
- Parameters:
self (DMatSetup) – A DMatSetup object
is_save_needed (bool) – New value for is_save_needed
- set_material(material, is_save_needed=False)[source]¶
Update the current material and setup all the widgets
- set_default(attr)[source]¶
When mat.elec or mat.mag are None, initialize with default values
- Parameters:
self (DMatSetup) – A DMatSetup widget
attr (str) – name of the property to set
- set_name()[source]¶
Signal to update the value of name according to the line edit
- Parameters:
self (DMatSetup) – A DMatSetup object
- set_is_isotropic()[source]¶
Signal to update the value of is_isotropic according to the checkbox
- Parameters:
self – A DMatSetup object
is_checked – State of the checkbox
- Return type:
None
- set_rho_elec()[source]¶
Signal to update the value of rho_elec according to the line edit
- Parameters:
self – A DMatSetup object
- Return type:
None
- set_alpha_elec()[source]¶
Signal to update the value of alpha_elec according to the line edit
- Parameters:
self – A DMatSetup object
- Return type:
None
- set_mur_lin()[source]¶
Signal to update the value of mur_lin according to the line edit
- Parameters:
self – A DMatSetup object
- Return type:
None
- set_Brm20()[source]¶
Signal to update the value of Brm20 according to the line edit
- Parameters:
self – A DMatSetup object
- Return type:
None
- set_alpha_Br()[source]¶
Signal to update the value of alpha_Br according to the line edit
- Parameters:
self – A DMatSetup object
- Return type:
None
- set_Wlam()[source]¶
Signal to update the value of Wlam according to the line edit
- Parameters:
self – A DMatSetup object
- Return type:
None
- plot_BrmHc()[source]¶
Plot the magnet material property as fct of temperature
- Parameters:
self – A DMatSetup object
- set_cost_unit()[source]¶
Signal to update the value of cost_unit according to the line edit
- Parameters:
self – A DMatSetup object
- Return type:
None
- set_Cp()[source]¶
Signal to update the value of Cp according to the line edit
- Parameters:
self – A DMatSetup object
- Return type:
None
- set_alpha()[source]¶
Signal to update the value of alpha according to the line edit
- Parameters:
self – A DMatSetup object
- Return type:
None
- set_lambda()[source]¶
Signal to update the value of lambda according to the line edit
- Parameters:
self – A DMatSetup object
- Return type:
None
- set_lambda_x()[source]¶
Signal to update the value of lambda_x according to the line edit
- Parameters:
self – A DMatSetup object
- Return type:
None
- set_lambda_y()[source]¶
Signal to update the value of lambda_y according to the line edit
- Parameters:
self – A DMatSetup object
- Return type:
None
- set_lambda_z()[source]¶
Signal to update the value of lambda_z according to the line edit
- Parameters:
self – A DMatSetup object
- Return type:
None
- set_rho_meca()[source]¶
Signal to update the value of rho_meca according to the line edit
- Parameters:
self – A DMatSetup object
- Return type:
None
- set_E()[source]¶
Signal to update the value of Ex according to the line edit
- Parameters:
self – A DMatSetup object
- Return type:
None
- set_Ex()[source]¶
Signal to update the value of Ex according to the line edit
- Parameters:
self – A DMatSetup object
- Return type:
None
- set_Ey()[source]¶
Signal to update the value of Ey according to the line edit
- Parameters:
self – A DMatSetup object
- Return type:
None
- set_Ez()[source]¶
Signal to update the value of Ez according to the line edit
- Parameters:
self – A DMatSetup object
- Return type:
None
- set_G()[source]¶
Signal to update the value of G according to the line edit
- Parameters:
self – A DMatSetup object
- Return type:
None
- set_Gxy()[source]¶
Signal to update the value of Gxy according to the line edit
- Parameters:
self – A DMatSetup object
- Return type:
None
- set_Gxz()[source]¶
Signal to update the value of Gxz according to the line edit
- Parameters:
self – A DMatSetup object
- Return type:
None
- set_Gyz()[source]¶
Signal to update the value of Gyz according to the line edit
- Parameters:
self – A DMatSetup object
- Return type:
None
- set_nu()[source]¶
Signal to update the value of nu_xy according to the line edit
- Parameters:
self – A DMatSetup object
- Return type:
None
- set_nu_xy()[source]¶
Signal to update the value of nu_xy according to the line edit
- Parameters:
self – A DMatSetup object
- Return type:
None
- set_nu_xz()[source]¶
Signal to update the value of nu_xz according to the line edit
- Parameters:
self – A DMatSetup object
- Return type:
None
- set_nu_yz()[source]¶
Signal to update the value of nu_yz according to the line edit
- Parameters:
self – A DMatSetup object
- Return type:
None
- staticMetaObject = <PySide2.QtCore.QMetaObject object>¶