io
MaterialIO
module-attribute
MaterialIO: Type[PythonMaterialIO | CppMaterialIO] = (
PythonMaterialIO if is_python_backend else CppMaterialIO
)
MaterialIOType
module-attribute
MaterialIOType: Type[PythonMaterialIO | CppMaterialIO] = Union[
PythonMaterialIO, CppMaterialIO
]
AbstractMaterialIO
Bases: IO
ContactLawIO
Bases: IO
CppMaterialIO
Bases: AbstractMaterialIO
DebugVariableIO
FabricTensorIO
IO
Bases: HashableBaseModelIO
Base class for input/output objects. The IO objects are loaded from the attributes of the original python object.
To restore the IO object to the original python object, first create the original object with the makeObject
method, then set the attributes to the original object. If the attribute is an IO object, the toObject
method
will be called recursively. If an attribute should be pre-processed before setting it to the original object,
redefine the makeAttribute
method in the subclass. Lists are converted into numpy arrays by default, if not,
redefine the makeAttribute
method in the subclass.
fromObject
classmethod
fromObject(obj: Union['AnyType', 'Model'], **kwargs) -> Self
Load the model from an object.
makeAttribute
classmethod
makeAttribute(key: str, value)
Prepare the attribute to be set to the original python object
makeObject
abstractmethod
Make the original python object
toObject
toObject(
parent: Union["AnyType", "Model", None] = None,
name: str | None = None,
**kwargs
) -> Union["AnyType", "Model", Any]
Revert the object to its original state
PARAMETER | DESCRIPTION |
---|---|
parent
|
The parent object for getting existing object instead of creating a new one
TYPE:
|
name
|
The name of the attribute in the parent object
TYPE:
|
kwargs
|
Keyword arguments to override the attributes
DEFAULT:
|
RETURNS | DESCRIPTION |
---|---|
The original object
|
|
IntegrationIO
LoadIO
Bases: IO
LoadPhaseIO
MicromechanicalModelIO
Bases: IO
ModelIO
Bases: IO
OptionsIO
Bases: IO
contact_ensure_force_state_on_yield_surface
instance-attribute
contact_ensure_force_state_on_yield_surface: bool
contact_friction_angle_weight_mohr_coulomb
instance-attribute
contact_friction_angle_weight_mohr_coulomb: float
contact_sanisand_constant_hardening_parameter
instance-attribute
contact_sanisand_constant_hardening_parameter: bool
contact_sanisand_maintain_yield_surface
instance-attribute
contact_sanisand_maintain_yield_surface: bool
ignore_fabric_evolution_for_isotropic_loading
instance-attribute
ignore_fabric_evolution_for_isotropic_loading: bool
ignore_fabric_rotations_for_isotropic_loading
instance-attribute
ignore_fabric_rotations_for_isotropic_loading: bool
integration_check_absolute_convergence
instance-attribute
integration_check_absolute_convergence: bool
integration_substepping_relative_to_increment
instance-attribute
integration_substepping_relative_to_increment: bool
mixed_load_check_absolute_convergence
instance-attribute
mixed_load_check_absolute_convergence: bool
precise_incremental_volumetric_strain
instance-attribute
precise_incremental_volumetric_strain: bool
separate_mean_deviatoric_stress_strain
instance-attribute
separate_mean_deviatoric_stress_strain: bool
update_void_ratio_from_after_isotropic_loading_to_before
instance-attribute
update_void_ratio_from_after_isotropic_loading_to_before: bool
use_isotropic_fabric_tensor_in_strain_averaging
instance-attribute
use_isotropic_fabric_tensor_in_strain_averaging: bool
use_isotropic_fabric_tensor_in_stress_localization
instance-attribute
use_isotropic_fabric_tensor_in_stress_localization: bool
use_plastic_strain_in_fabric_evolution
instance-attribute
use_plastic_strain_in_fabric_evolution: bool
PythonMaterialIO
Bases: AbstractMaterialIO