hookeai.miscellaneous.materials.compare_hardening_laws.compare_hardening_laws

compare_hardening_laws(hardening_laws, save_dir=None, is_save_fig=False, is_stdout_display=False)[source]

Compare strain hardening laws.

Parameters:
  • hardening_laws (dict) – Strain hardening laws to be compared. Each hardening law (key, str) is stored as dictionary (item, dict) with the corresponding ‘hardening_law’ and ‘hardening_parameters’.

  • save_dir (str, default=None) – Directory where figure is saved. If None, then figure is saved in current working directory.

  • is_save_fig (bool, default=False) – Save figure.

  • is_stdout_display (bool, default=False) – True if displaying figure to standard output device, False otherwise.