Skip to main content

conspire/domain/partition/feti/thermal/
mod.rs

1use crate::domain::{
2    ElementModelError, Model, ProvidesTangent,
3    fem::{
4        block::thermal::{NodalTemperatures, conduction::NodalStiffnessesThermal},
5        thermal::conduction::ThermalConductionElements,
6    },
7};
8
9impl<B, const D: usize> ProvidesTangent<NodalTemperatures, NodalStiffnessesThermal> for Model<B, D>
10where
11    B: ThermalConductionElements,
12{
13    fn provide_tangent(
14        &self,
15        nodal_temperatures: &NodalTemperatures,
16    ) -> Result<NodalStiffnessesThermal, ElementModelError> {
17        self.nodal_stiffnesses(nodal_temperatures)
18    }
19}