|
svMultiPhysics
|
Parameters for active stress models. More...
#include <Parameters.h>
Public Member Functions | |
| ActiveStressParameters () | |
| Constructor. | |
| bool | defined () const |
| Return whether the parameters represented by this object were defined. | |
| void | print_parameters () const |
| Print the value of parameters. | |
| void | set_values (const tinyxml2::XMLElement *xml_elem) |
| Set the values of parameters in this object from an XML element. | |
| std::string | get_model_name () const |
| double | get_eta_f () const |
| Get the active tension coefficient along fibers. | |
| double | get_eta_s () const |
| Get the active tension coefficient along sheets. | |
| double | get_eta_n () const |
| Get the active tension coefficient along sheet normals. | |
| bool | get_implicit_state_coupling () const |
| double | get_calcium_scaling_factor () const |
| Get the factor applied to calcium before it is passed to the model. | |
| bool | get_disable_force_strain_rate_feedback () const |
| Get whether the fiber stretch rate passed to the model is set to zero. | |
| const ActiveStressModelParameters & | get_parameters (const std::string &model_name) const |
| Get the parameters for a given active stress model. | |
| Public Member Functions inherited from ParameterLists | |
| void | set_xml_element_name (const std::string &name) |
| void | set_parameter (const std::string &name, const bool value, bool required, Parameter< bool > ¶m) |
| Set the name, default value and the parameter required flag. | |
| void | set_parameter (const std::string &name, const double value, bool required, Parameter< double > ¶m) |
| void | set_parameter (const std::string &name, std::initializer_list< double > value, bool required, VectorParameter< double > ¶m) |
| void | set_parameter (const std::string &name, std::initializer_list< int > value, bool required, VectorParameter< int > ¶m) |
| void | set_parameter (const std::string &name, std::initializer_list< std::string > value, bool required, VectorParameter< std::string > ¶m) |
| void | set_parameter (const std::string &name, const int value, bool required, Parameter< int > ¶m, std::vector< int > range={}) |
| void | set_parameter (const std::string &name, const std::string &value, bool required, Parameter< std::string > ¶m) |
| void | set_parameter_value_CANN (const std::string &name, const std::string &value) |
| set_parameter function to handle CANNRow | |
| void | set_parameter_value (const std::string &name, const std::string &value) |
| Set the value of a paramter from a string. | |
| void | check_required () |
| Check if any required parameters have not been set. | |
| std::map< std::string, std::string > | get_parameter_list () const |
| Get the defined parameters as a map of strings. | |
| void | print_parameter_list () |
| Print the parameters. | |
Static Public Attributes | |
| static const std::string | xml_element_name = "Active_stress" |
| Name of the XML element for this object. | |
Protected Attributes | |
| Parameter< std::string > | model_name |
| Parameter for the model name. | |
| Parameter< bool > | implicit_state_coupling |
| Parameter< double > | calcium_scaling_factor |
| Parameter< bool > | disable_force_strain_rate_feedback |
| DirectionalDistributionParameters | directional_distribution |
| Parameters for the directional distribution of active tension. | |
| std::map< std::string, std::unique_ptr< ActiveStressModelParameters > > | active_stress_models |
| bool | value_set = false |
Additional Inherited Members | |
| Public Attributes inherited from ParameterLists | |
| std::map< std::string, std::variant< Parameter< bool > *, Parameter< double > *, Parameter< int > *, Parameter< std::string > *, VectorParameter< double > *, VectorParameter< int > *, VectorParameter< std::string > * > > | params_map |
| Map used for storing parameters by name / Parameter template union. | |
| std::string | xml_element_name = "" |
Parameters for active stress models.
This class stores all the parameters related to active stress, including e.g. the name of the specific selected model. The parameters specific to an individual model are managed by the class ActiveStressModelParameters, of which this class owns an instance for every registered model.
In the XML file, this class corresponds to the <Active_stress> element.
| ActiveStressParameters::ActiveStressParameters | ( | ) |
Constructor.
|
inline |
Return whether the parameters represented by this object were defined.
| double ActiveStressParameters::get_calcium_scaling_factor | ( | ) | const |
Get the factor applied to calcium before it is passed to the model.
| bool ActiveStressParameters::get_disable_force_strain_rate_feedback | ( | ) | const |
Get whether the fiber stretch rate passed to the model is set to zero.
| double ActiveStressParameters::get_eta_f | ( | ) | const |
Get the active tension coefficient along fibers.
| double ActiveStressParameters::get_eta_n | ( | ) | const |
Get the active tension coefficient along sheet normals.
| double ActiveStressParameters::get_eta_s | ( | ) | const |
Get the active tension coefficient along sheets.
| bool ActiveStressParameters::get_implicit_state_coupling | ( | ) | const |
Get whether the state of the active stress model is updated within the nonlinear iterations of the mechanics problem.
| std::string ActiveStressParameters::get_model_name | ( | ) | const |
Get the name of the selected model. Throws an exception if it has not been set.
| const ActiveStressModelParameters & ActiveStressParameters::get_parameters | ( | const std::string & | model_name | ) | const |
Get the parameters for a given active stress model.
| void ActiveStressParameters::print_parameters | ( | ) | const |
Print the value of parameters.
| void ActiveStressParameters::set_values | ( | const tinyxml2::XMLElement * | xml_elem | ) |
Set the values of parameters in this object from an XML element.
|
protected |
Active stress model parameters. Keys are the model names, as registered in the ActiveStressModelFactory.
|
protected |
Parameter for the factor applied to calcium before it is passed to the model.
|
protected |
Parameters for the directional distribution of active tension.
|
protected |
Parameter selecting whether the fiber stretch rate passed to the model is set to zero, disabling the force-strain-rate feedback.
|
protected |
Parameter selecting whether the state of the active stress model is updated within the nonlinear iterations of the mechanics problem.
|
protected |
Flag indicating whether the values of the parameters stored in this object have been set.
|
static |
Name of the XML element for this object.