Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
ThermalExpansionModel Class Reference

#include <thermal_expansion_model.h>

Inheritance diagram for ThermalExpansionModel:
[legend]

Static Public Member Functions

static std::shared_ptr< ThermalExpansionModel > model_cast (const Parameters::Material &material_properties)

Additional Inherited Members

Public Types inherited from PhysicalPropertyModel
enum class  ComplexComponent : std::int8_t { real , imag }
Public Member Functions inherited from PhysicalPropertyModel
 PhysicalPropertyModel ()
virtual ~PhysicalPropertyModel ()=default
bool depends_on (const field &id)
virtual double value (const std::map< field, double > &fields_value)=0
virtual void vector_value (const std::map< field, std::vector< double > > &field_vectors, std::vector< double > &property_vector)=0
virtual double jacobian (const std::map< field, double > &field_values, const field id)=0
virtual void vector_jacobian (const std::map< field, std::vector< double > > &field_vectors, const field id, std::vector< double > &jacobian_vector)=0
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)
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

Detailed Description

Abstract class that allows to calculate the thermal expansion coefficient (with unit of inverse temperature).

Definition at line 16 of file thermal_expansion_model.h.

Member Function Documentation

◆ model_cast()

std::shared_ptr< ThermalExpansionModel > ThermalExpansionModel::model_cast ( const Parameters::Material & material_properties)
static

Instantiates and returns a pointer to a ThermalExpansionModel object by casting it to the proper child class.

Parameters
material_propertiesParameters for a material

Definition at line 7 of file thermal_expansion_model.cc.

References Parameters::Material::phase_change, Parameters::Material::phase_change_parameters, Parameters::Material::thermal_expansion, and Parameters::Material::thermal_expansion_model.


The documentation for this class was generated from the following files: