pub struct TemperatureProfile {
pub time: f64,
pub exposure: FireExposure,
pub temps: Vec<f64>,
pub max_temp: f64,
pub avg_temp: f64,
}Expand description
Temperature distribution in section at given time.
Fields§
§time: f64§exposure: FireExposure§temps: Vec<f64>§max_temp: f64§avg_temp: f64Implementations§
Source§impl TemperatureProfile
impl TemperatureProfile
Sourcepub fn uniform(temp: f64, time: f64, exposure: FireExposure) -> Self
pub fn uniform(temp: f64, time: f64, exposure: FireExposure) -> Self
Uniform temperature (simplified).
Sourcepub fn from_heat_transfer(
_section: &Section,
_material: &Material,
_section_factor: &SectionFactor,
exposure: FireExposure,
time: f64,
_time_step: f64,
) -> Self
pub fn from_heat_transfer( _section: &Section, _material: &Material, _section_factor: &SectionFactor, exposure: FireExposure, time: f64, _time_step: f64, ) -> Self
Compute temperature profile using heat transfer analysis.
Trait Implementations§
Source§impl Clone for TemperatureProfile
impl Clone for TemperatureProfile
Auto Trait Implementations§
impl Forget for TemperatureProfile
impl Freeze for TemperatureProfile
impl Move for TemperatureProfile
impl RefUnwindSafe for TemperatureProfile
impl Send for TemperatureProfile
impl Sync for TemperatureProfile
impl Unpin for TemperatureProfile
impl UnsafeUnpin for TemperatureProfile
impl UnwindSafe for TemperatureProfile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more