![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <thermal_expansion_model.h>
Public Member Functions | |
| ConstantThermalExpansion (const double p_thermal_expansion) | |
| double | value (const std::map< field, double > &) override |
| void | vector_value (const std::map< field, std::vector< double > > &, std::vector< double > &property_vector) override |
| double | jacobian (const std::map< field, double > &, field) override |
| void | vector_jacobian (const std::map< field, std::vector< double > > &, const field, std::vector< double > &jacobian_vector) override |
| Public Member Functions inherited from PhysicalPropertyModel | |
| PhysicalPropertyModel () | |
| virtual | ~PhysicalPropertyModel ()=default |
| bool | depends_on (const field &id) |
| void | provide_simulation_control (std::shared_ptr< SimulationControl > &p_simulation_control) |
| double | numerical_jacobian (const std::map< field, double > &field_values, const field id) |
| void | vector_numerical_jacobian (const std::map< field, std::vector< double > > &field_vectors, const field id, std::vector< double > &jacobian_vector) |
Private Attributes | |
| const double | thermal_expansion |
Additional Inherited Members | |
| Public Types inherited from PhysicalPropertyModel | |
| enum class | ComplexComponent : std::int8_t { real , imag } |
| Static Public Member Functions inherited from ThermalExpansionModel | |
| static std::shared_ptr< ThermalExpansionModel > | model_cast (const Parameters::Material &material_properties) |
| Protected Member Functions inherited from PhysicalPropertyModel | |
| std::shared_ptr< SimulationControl > & | get_simulation_control () |
| Protected Attributes inherited from PhysicalPropertyModel | |
| std::map< field, bool > | model_depends_on |
Constant thermal expansion coefficient.
Definition at line 33 of file thermal_expansion_model.h.
|
inline |
Default constructor.
Definition at line 39 of file thermal_expansion_model.h.
References thermal_expansion.
|
inlineoverridevirtual |
jacobian Calculates the jacobian (the partial derivative) of the thermal expansion with respect to a field
| field_values | Value of the various fields on which the property may depend. |
| id | Indicator of the field with respect to which the jacobian should be calculated. |
Implements PhysicalPropertyModel.
Definition at line 75 of file thermal_expansion_model.h.
|
inlineoverridevirtual |
value Calculates the thermale expansion
| fields_value | Value of the various field on which the property may depend. |
Implements PhysicalPropertyModel.
Definition at line 49 of file thermal_expansion_model.h.
References thermal_expansion.
|
inlineoverridevirtual |
vector_jacobian Calculates the derivative of the thermal expansion with respect to a field.
| field_vectors | Vector for the values of the fields used to evaluate the property. |
| id | Identifier of the field with respect to which a derivative should be calculated. |
| jacobian | vector of the value of the derivative of the thermal expansion with respect to the field id. |
Implements PhysicalPropertyModel.
Definition at line 89 of file thermal_expansion_model.h.
|
inlineoverridevirtual |
vector_value Calculates the vector of thermal expansion.
| field_vectors | Vectors of the fields on which the thermal expansion may depend. |
| property_vector | Vectors of the thermal expansion values |
Implements PhysicalPropertyModel.
Definition at line 60 of file thermal_expansion_model.h.
References thermal_expansion.
|
private |
Definition at line 98 of file thermal_expansion_model.h.