io
MicromechanicalMaterialIO
module-attribute
MicromechanicalMaterialIO = PythonMicromechanicalMaterialIO
ContactLawIO
Bases: IO
CppElastoplasticMaterialIO
Bases: CppMaterialIO
CppMaterialIO
Bases: MaterialBaseIO
CppMicromechanicalMaterialIO
Bases: CppMaterialIO
DebugVariableIO
Bases: IO
ElastoplasticModelBaseIO
Bases: ModelBaseIO
ElastoplasticModelIO
Bases: IO
FabricTensorIO
Bases: IO
IO
Bases: HashableBaseModelIO, ABC
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.
makeAttribute
classmethod
Prepare the attribute to be set to the original python object
toObject
Revert the object to its original state
| PARAMETER | DESCRIPTION |
|---|---|
parent
|
The parent object for getting existing object instead of creating a new one
DEFAULT:
|
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
Bases: IO
LoadIO
Bases: IO
LoadPhaseIO
Bases: IO
MaterialBaseIO
Bases: IO, ABC
MicromechanicalModelBaseIO
Bases: ModelBaseIO
MicromechanicalModelIO
Bases: IO
ModelBaseIO
Bases: IO
OptionsIO
Bases: IO, OptionsProxy
PythonElastoplasticMaterialIO
Bases: PythonMaterialIO
PythonMaterialIO
Bases: MaterialBaseIO
PythonMicromechanicalMaterialIO
Bases: PythonMaterialIO