|
svZeroDSolver
|
Base class for spherical chamber wall materials. More...
#include <SphereMaterial.h>
Public Member Functions | |
| SphereMaterial (const std::vector< std::pair< std::string, InputParameter > > &props) | |
| Construct a SphereMaterial. | |
| virtual SphericalStressResult | compute (double radius, double radius0) const =0 |
| Compute material stress contributions at the current state. | |
| void | set_param (const std::string &name, double value) |
| Set a scalar parameter value by name. | |
Static Public Member Functions | |
| static std::unique_ptr< SphereMaterial > | create (const std::string &type_str) |
| Factory: create a material from a type string. | |
Public Attributes | |
| const std::vector< std::pair< std::string, InputParameter > > | input_param_properties |
| Properties of the input parameters for this material [(name, InputParameter), ...]. | |
Protected Attributes | |
| std::map< std::string, double > | params_ |
| Map of parameter names to their values. | |
Base class for spherical chamber wall materials.
Subclasses implement the material-specific elastic stress term in the spherical stress equation:
![\[-S + \tau + S_\text{sl}(r, r_0) = 0
\]](form_160.png)
| SphereMaterial::SphereMaterial | ( | const std::vector< std::pair< std::string, InputParameter > > & | props | ) |
Construct a SphereMaterial.
| props | Parameter name/spec pairs for this material type |
|
pure virtual |
Compute material stress contributions at the current state.
| radius | Radius perturbation |
| radius0 | Reference radius |
Implemented in ExponentialMaterial, and MooneyRivlinMaterial.
|
static |
Factory: create a material from a type string.
| type_str | One of: "mooney_rivlin", "exponential" |
| void SphereMaterial::set_param | ( | const std::string & | name, |
| double | value ) |
| const std::vector<std::pair<std::string, InputParameter> > SphereMaterial::input_param_properties |
Properties of the input parameters for this material [(name, InputParameter), ...].
|
protected |
Map of parameter names to their values.