Skip to main content

conspire/constitutive/multiphysics/solid_thermal/
mod.rs

1//! Solid-thermal constitutive models.
2
3pub(super) mod thermoelastic_thermal_conduction;
4pub(super) mod thermohyperelastic_thermal_conduction;
5
6use super::{
7    super::{solid::Solid, thermal::Thermal},
8    Multiphysics,
9};
10
11/// Required methods for solid-thermal constitutive models.
12pub trait SolidThermal
13where
14    Self: Multiphysics,
15{
16    /// The solid constitutive model.
17    type Solid: Solid;
18    /// The thermal constitutive model.
19    type Thermal: Thermal;
20    /// Returns a reference to the solid constitutive model.
21    fn solid_constitutive_model(&self) -> &Self::Solid;
22    /// Returns a reference to the thermal constitutive model.
23    fn thermal_constitutive_model(&self) -> &Self::Thermal;
24}