micromechanical (C++)
|
Contact law registry. More...
#include <contacts.hpp>
Public Types | |
typedef ContactLawBase< T > * | ContactLawFunction(const std::map< std::string, T > &) |
Contact law function type. | |
Static Public Member Functions | |
static ContactLawBase< T > * | create (ContactLawBase< T > *contact, const std::map< std::string, T > &props={}) |
Create contact law. | |
static ContactLawBase< T > * | create (const ContactLawType type, const std::map< std::string, T > &props={}) |
Create contact law. | |
static ContactLawBase< T > * | create (const std::string &path, const std::map< std::string, T > &props={}) |
Create contact law from plugin. | |
static std::string | contact_law_name (const ContactLawType type) |
Get the name of a contact law enum value. | |
static ContactLawType | contact_law_type (const std::string &name) |
Get the contact law type from a string. | |
Contact law registry.
typedef ContactLawBase< T > * micromechanical::contacts::ContactLawRegistry< T >::ContactLawFunction(const std::map< std::string, T > &) |
Contact law function type.
|
inlinestatic |
Get the name of a contact law enum value.
type | contact law type |
References micromechanical::contacts::Coulomb, micromechanical::contacts::Elastic, micromechanical::contacts::Exponential, micromechanical::contacts::Hyperbolic, micromechanical::contacts::Hypoplastic, micromechanical::contacts::MCC, micromechanical::contacts::OSIMSAND, micromechanical::contacts::SANISAND, and micromechanical::contacts::SIMSAND.
|
inlinestatic |
Get the contact law type from a string.
name | contact law name |
References micromechanical::contacts::Coulomb, micromechanical::contacts::Elastic, micromechanical::contacts::Exponential, micromechanical::contacts::Hyperbolic, micromechanical::contacts::Hypoplastic, micromechanical::contacts::MCC, micromechanical::contacts::OSIMSAND, micromechanical::contacts::SANISAND, and micromechanical::contacts::SIMSAND.
|
inlinestatic |
Create contact law.
type | contact law type |
props | material properties |
|
inlinestatic |
Create contact law from plugin.
path | path to the contact law plugin |
props | material properties |
|
inlinestatic |
Create contact law.
contact | contact law |
props | material properties |