![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <electric_conductivity_model.h>
Public Member Functions | |
| PolynomialElectricConductivity (const std::vector< double > &p_electric_conductivity_polynomial_coefficients) | |
| double | value (const std::map< field, double > &field_values) override |
| void | vector_value (const std::map< field, std::vector< double > > &field_vectors, std::vector< double > &property_vector) override |
| double | jacobian (const std::map< field, double > &field_values, const field id) override |
| void | vector_jacobian (const std::map< field, std::vector< double > > &field_vectors, const field id, 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 std::vector< double > | electric_conductivity_polynomial_coefficients |
Additional Inherited Members | |
| Public Types inherited from PhysicalPropertyModel | |
| enum class | ComplexComponent : std::int8_t { real , imag } |
| Static Public Member Functions inherited from ElectricConductivityModel | |
| static std::shared_ptr< ElectricConductivityModel > | 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 |
Polynomial electric conductivity.
Definition at line 111 of file electric_conductivity_model.h.
|
inline |
Default constructor.
Definition at line 117 of file electric_conductivity_model.h.
References electric_conductivity_polynomial_coefficients, PhysicalPropertyModel::model_depends_on, and temperature.
|
inlineoverridevirtual |
Calculates the jacobian (the partial derivative) of the electric conductivity with respect to a field.
| [in] | field_values | Value of the various fields on which the property may depend. |
| [in] | id | Identifier of the field with respect to which the jacobian should be calculated |
Implements PhysicalPropertyModel.
Definition at line 196 of file electric_conductivity_model.h.
References electric_conductivity_polynomial_coefficients, and temperature.
|
inlineoverridevirtual |
Calculates the value of the electric conductivity.
| [in] | field_values | Values of the various fields on which the electric conductivity depends. |
Implements PhysicalPropertyModel.
Definition at line 132 of file electric_conductivity_model.h.
References electric_conductivity_polynomial_coefficients, and temperature.
|
inlineoverridevirtual |
Calculates the derivatives of the electric conductivity with respect to a field.
| [in] | field_vectors | Vector for the values of the fields used to evaluate the property |
| [in] | id | Identifier of the field with respect to which a derivative should be calculated |
| [in,out] | jacobian_vector | Vector of the values of the derivatives of the electric conductivity with respect to the specified field |
Implements PhysicalPropertyModel.
Definition at line 241 of file electric_conductivity_model.h.
References electric_conductivity_polynomial_coefficients, and temperature.
|
inlineoverridevirtual |
Calculates, in a vector, values of of electric conductivities.
| [in] | field_vectors | Vector of fields on which the electric conductivities depend |
| [in,out] | property_vector | Values of the electric conductivities |
Implements PhysicalPropertyModel.
Definition at line 159 of file electric_conductivity_model.h.
References electric_conductivity_polynomial_coefficients, and temperature.
|
private |
Definition at line 280 of file electric_conductivity_model.h.