m_n_kappa.general.NotSuccessfulReason#

class m_n_kappa.general.NotSuccessfulReason(keyword=None, variable=None, reason=None, strain_position=None)#

Bases: object

Container for reasons why computation has not been successful

New in version 0.2.0.

Parameters:
  • keyword (str) – keyword is the shortcut to describe the reason why a computation was not successful (Default: None)

  • reason (str) – custom reason

  • strain_position (StrainPosition) – strain, its position and the material that led to the not successful computation

  • variable (str) –

Methods

same_sign(variable)

Attributes

keyword

variable

reason

strain_position

keywords

shortcut to describe reasons why computation was not successful

property keywords: dict#

shortcut to describe reasons why computation was not successful