|
OOFEM 3.0
|
#include <matstatmapperint.h>
Public Member Functions | |
| MaterialStatusMapperInterface () | |
| virtual | ~MaterialStatusMapperInterface () |
| virtual void | copyStateVariables (const MaterialStatus &iStatus)=0 |
| virtual void | addStateVariables (const MaterialStatus &iStatus)=0 |
| virtual int | MSMI_map (const GaussPoint &iGP, const Domain &iOldDom, Set &sourceSet, const TimeStep &iTStep, MaterialStatus &oStatus) |
| virtual int | MSMI_map_cz (const GaussPoint &iGP, const Domain &iOldDom, Set &sourceSet, const TimeStep &iTStep, MaterialStatus &oStatus) |
| virtual int | MSMI_update (const GaussPoint &iGP, const TimeStep &iTStep) |
| virtual int | MSMI_finish (const TimeStep &iTStep) |
Protected Attributes | |
| std::unique_ptr< MaterialMappingAlgorithm > | mpMaterialMapper |
An interface class for MaterialStatus. The purpose is to allow mapping of state variables (Gauss point variables) in a generic way. This is useful when the mesh changes, e.g. due to propagating cracks or in adaptive analysis.
To add adaptivity capability to a new material model, only copyStateVariables() and addStateVariables need to be overloaded in the corresponding material status class. Hence, mapping functionality can be implemented for new material models with minimum effort.
Definition at line 68 of file matstatmapperint.h.
| oofem::MaterialStatusMapperInterface::MaterialStatusMapperInterface | ( | ) |
Definition at line 43 of file matstatmapperint.C.
References mpMaterialMapper.
|
inlinevirtual |
Definition at line 75 of file matstatmapperint.h.
|
pure virtual |
|
pure virtual |
Implemented in oofem::IntMatBilinearCZStatus, oofem::PlasticMaterialStatus, oofem::StructuralFE2MaterialStatus, oofem::StructuralInterfaceMaterialStatus, and oofem::StructuralMaterialStatus.
Referenced by oofem::MMAClosestIPTransfer::mapStatus(), and oofem::XfemStructuralElementInterface::XfemElementInterface_updateIntegrationRule().
|
virtual |
Finishes the mapping for given time step. Used to perform cleanup.
Definition at line 93 of file matstatmapperint.C.
Referenced by addStateVariables().
|
virtual |
Maps all internal state variables from the old domain to the given gp status.
| iGP | Integration point belonging to the new domain. |
| iOldDom | Old domain. |
| iTStep | Time step. |
Definition at line 47 of file matstatmapperint.C.
References mpMaterialMapper.
Referenced by addStateVariables(), and oofem::Element::mapStateVariables().
|
virtual |
Definition at line 65 of file matstatmapperint.C.
References mpMaterialMapper.
Referenced by addStateVariables().
|
virtual |
Updates the internal state variables from previously mapped values.
| iGP | Integration point belonging to the new domain. |
| iTStep | Time step. |
Definition at line 84 of file matstatmapperint.C.
Referenced by addStateVariables().
|
protected |
Definition at line 71 of file matstatmapperint.h.
Referenced by MaterialStatusMapperInterface(), MSMI_map(), and MSMI_map_cz().