conspire/constitutive/multiphysics/solid_thermal/
mod.rs

1//! Solid-thermal constitutive models.
2
3pub mod thermoelastic_thermal_conduction;
4pub 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<C1, C2>
13where
14    C1: Solid,
15    C2: Thermal,
16    Self: Multiphysics,
17{
18    /// Constructs and returns a new solid-thermal constitutive model.
19    fn construct(solid_constitutive_model: C1, thermal_constitutive_model: C2) -> Self;
20    /// Returns a reference to the solid constitutive model.
21    fn solid_constitutive_model(&self) -> &C1;
22    /// Returns a reference to the thermal constitutive model.
23    fn thermal_constitutive_model(&self) -> &C2;
24}