![]() |
v0.16.3 |
#include "src/materials/MatOps.hpp"
Classes | |
| struct | UserData |
| Base for user-defined material data, supporting dynamic_pointer_cast. More... | |
Public Types | |
| using | MatrixPtr = boost::shared_ptr< MatrixDouble > |
| using | StateMatrixPtr = boost::shared_ptr< MatrixAdaptor > |
Public Member Functions | |
| virtual | ~MatOpsData ()=default |
| virtual boost::shared_ptr< UserData > | getUserDataPtr () const =0 |
| Get the optional user-defined material data. | |
| virtual void | setUserDataPtr (boost::shared_ptr< UserData > user_data_ptr)=0 |
| Set data owned by this container; back-references should be weak. | |
| virtual std::pair< bool, MatrixPtr > | insertCommonData (const std::string &name, const MatrixDouble &data=MatrixDouble(), int shift=0)=0 |
| Shared evaluation data, such as field values at quadrature points. | |
| virtual std::pair< bool, MatrixPtr > | insertActiveData (const std::string &name, const MatrixDouble &data=MatrixDouble(), int shift=0)=0 |
| Independent constitutive variables, such as the deformation gradient. | |
| virtual std::pair< bool, MatrixPtr > | insertDependentData (const std::string &name, const MatrixDouble &data=MatrixDouble(), int shift=0)=0 |
| Constitutive responses, such as stress, depending on the active variables. | |
| virtual std::pair< bool, MatrixPtr > | insertDependentDerivativesData (const std::string &name, const MatrixDouble &data=MatrixDouble(), int shift=0)=0 |
| Derivatives of the dependent responses with respect to active variables. | |
| virtual MatrixPtr | getCommonDataPtr (const std::string &name)=0 |
| Access shared evaluation storage by name. | |
| virtual MatrixPtr | getActiveDataPtr (const std::string &name)=0 |
| Access independent-variable storage by name. | |
| virtual MatrixPtr | getDependentDataPtr (const std::string &name)=0 |
| Access constitutive-response storage by name. | |
| virtual MatrixPtr | getDependentDerivativesDataPtr (const std::string &name)=0 |
| Access response-derivative storage by name. | |
| virtual StateMatrixPtr | getStateDataPtr (const std::string &name, EntityHandle ent, int gg)=0 |
| virtual StateTags | getStateTags () const =0 |
| Bound state-tag descriptors, not copies of the stored values. | |
| virtual MoFEMErrorCode | bindStateTag (MoFEM::Interface &m_field, const std::string &tag_name, int num_components)=0 |
| Register a state name and its number of components per integration point. | |
| virtual MoFEMErrorCode | setupStateData ()=0 |
| Find or create the registered MOAB state tags, preserving existing values. | |
| virtual MoFEMErrorCode | setActiveContinuousVector (std::vector< double > &active_variables)=0 |
| Pack active matrices into a contiguous vector in registration order. | |
| virtual MoFEMErrorCode | setDependentContinuousVector (std::vector< double > &dependent_variables)=0 |
| Pack response matrices into a contiguous vector in registration order. | |
| virtual MoFEMErrorCode | setDependentDerivativesContinuousVector (std::vector< double > &dependent_variables_derivatives)=0 |
| Pack response derivatives into a contiguous vector in registration order. | |
| virtual MoFEMErrorCode | getActiveContinuousVector (const std::vector< double > &active_variables)=0 |
| Unpack a contiguous vector into the registered active matrices. | |
| virtual MoFEMErrorCode | getDependentContinuousVector (const std::vector< double > &dependent_variables)=0 |
| Unpack a contiguous vector into the registered response matrices. | |
| virtual MoFEMErrorCode | getDependentDerivativesContinuousVector (const std::vector< double > &dependent_variables_derivatives)=0 |
| Unpack a contiguous vector into the registered response derivatives. | |
Named constitutive inputs, outputs and tag-backed integration-point state. State tags expose their current contents; callers manage physical time levels, acceptance and rollback. Insert methods report whether a name was added; existing entries are not overwritten.
Definition at line 42 of file MatOps.hpp.
| using MatOps::MatOpsData::MatrixPtr = boost::shared_ptr<MatrixDouble> |
Definition at line 45 of file MatOps.hpp.
| using MatOps::MatOpsData::StateMatrixPtr = boost::shared_ptr<MatrixAdaptor> |
Definition at line 46 of file MatOps.hpp.
|
virtualdefault |
|
pure virtual |
Register a state name and its number of components per integration point.
Implemented in MatOps::MatOpsDataImpl, and MatOps::MatOpsDataDerivedImpl.
|
pure virtual |
Unpack a contiguous vector into the registered active matrices.
Implemented in MatOps::MatOpsDataImpl, and MatOps::MatOpsDataDerivedImpl.
|
pure virtual |
Access independent-variable storage by name.
Implemented in MatOps::MatOpsDataImpl, and MatOps::MatOpsDataDerivedImpl.
|
pure virtual |
Access shared evaluation storage by name.
Implemented in MatOps::MatOpsDataImpl, and MatOps::MatOpsDataDerivedImpl.
|
pure virtual |
Unpack a contiguous vector into the registered response matrices.
Implemented in MatOps::MatOpsDataImpl, and MatOps::MatOpsDataDerivedImpl.
|
pure virtual |
Access constitutive-response storage by name.
Implemented in MatOps::MatOpsDataImpl, and MatOps::MatOpsDataDerivedImpl.
|
pure virtual |
Unpack a contiguous vector into the registered response derivatives.
Implemented in MatOps::MatOpsDataImpl, and MatOps::MatOpsDataDerivedImpl.
|
pure virtual |
Access response-derivative storage by name.
Implemented in MatOps::MatOpsDataImpl, and MatOps::MatOpsDataDerivedImpl.
|
pure virtual |
Writable view of one point's MOAB tag data, not a state copy. Start each sweep at gg == 0 to refresh cached storage; do not retain views across tag resizing or replacement.
Implemented in MatOps::MatOpsDataImpl, and MatOps::MatOpsDataDerivedImpl.
|
pure virtual |
Bound state-tag descriptors, not copies of the stored values.
Implemented in MatOps::MatOpsDataImpl, and MatOps::MatOpsDataDerivedImpl.
|
pure virtual |
Get the optional user-defined material data.
Implemented in MatOps::MatOpsDataImpl.
|
pure virtual |
Independent constitutive variables, such as the deformation gradient.
Implemented in MatOps::MatOpsDataImpl, and MatOps::MatOpsDataDerivedImpl.
|
pure virtual |
Shared evaluation data, such as field values at quadrature points.
Implemented in MatOps::MatOpsDataImpl, and MatOps::MatOpsDataDerivedImpl.
|
pure virtual |
Constitutive responses, such as stress, depending on the active variables.
Implemented in MatOps::MatOpsDataImpl, and MatOps::MatOpsDataDerivedImpl.
|
pure virtual |
Derivatives of the dependent responses with respect to active variables.
Implemented in MatOps::MatOpsDataImpl, and MatOps::MatOpsDataDerivedImpl.
|
pure virtual |
Pack active matrices into a contiguous vector in registration order.
Implemented in MatOps::MatOpsDataImpl, and MatOps::MatOpsDataDerivedImpl.
|
pure virtual |
Pack response matrices into a contiguous vector in registration order.
Implemented in MatOps::MatOpsDataImpl, and MatOps::MatOpsDataDerivedImpl.
|
pure virtual |
Pack response derivatives into a contiguous vector in registration order.
Implemented in MatOps::MatOpsDataImpl, and MatOps::MatOpsDataDerivedImpl.
|
pure virtual |
Find or create the registered MOAB state tags, preserving existing values.
Implemented in MatOps::MatOpsDataImpl, and MatOps::MatOpsDataDerivedImpl.
|
pure virtual |
Set data owned by this container; back-references should be weak.
Implemented in MatOps::MatOpsDataImpl.