|
musica (C++)
|
Micromechanical model registry. More...
#include <models.hpp>
Public Types | |
| typedef MicromechanicalBase< T > * | MicromechanicalFunction(ContactLawBase< T > *, const std::unordered_map< std::string, T > &, T, T) |
| Micromechanical model function type. | |
Static Public Member Functions | |
| static MicromechanicalFunction * | load (const std::string &path) |
| Load a micromechanical model from a shared library. | |
| static MicromechanicalBase< T > * | create (const std::variant< MicromechanicalType, std::string, MicromechanicalBase< T > * > &model, const std::variant< ContactLawType, std::string, ContactLawBase< T > * > &contact, const std::unordered_map< std::string, T > &props={}, T npv=1e9, T radius=0.65e-3) |
| Create a micromechanical model. | |
| static MicromechanicalType | model_type (const std::string &model) |
| Get the model type from a string. | |
| static std::string | model_name (const MicromechanicalType model) |
| Get the model name from a model type. | |
Micromechanical model registry.
| typedef MicromechanicalBase< T > * micromechanical::MicromechanicalRegistry< T >::MicromechanicalFunction(ContactLawBase< T > *, const std::unordered_map< std::string, T > &, T, T) |
Micromechanical model function type.
|
inlinestatic |
Create a micromechanical model.
| model | Micromechanical model type |
| contact | contact law type |
| props | material properties |
| npv | number of integration points |
| radius | radius of the particle |
Referenced by load().

|
inlinestatic |
|
inlinestatic |
Get the model name from a model type.
| model | Micromechanical model type |
References micromechanical::ChangHicher.
|
inlinestatic |
Get the model type from a string.
| model | Micromechanical model type |
References micromechanical::ChangHicher.