chore: remove deprecated flow_boundary and update docs to match new architecture
This commit is contained in:
@@ -287,10 +287,12 @@ impl<Model: HeatTransferModel + 'static> HeatExchanger<Model> {
|
||||
self.hot_conditions.as_ref()
|
||||
}
|
||||
|
||||
/// Documentation pending
|
||||
pub fn cold_conditions(&self) -> Option<&HxSideConditions> {
|
||||
self.cold_conditions.as_ref()
|
||||
}
|
||||
|
||||
/// Documentation pending
|
||||
pub fn hot_fluid_id(&self) -> Option<&FluidsFluidId> {
|
||||
self.hot_conditions.as_ref().map(|c| c.fluid_id())
|
||||
}
|
||||
@@ -461,6 +463,7 @@ impl<Model: HeatTransferModel + 'static> HeatExchanger<Model> {
|
||||
FluidState::new(temperature, pressure, enthalpy, mass_flow, cp)
|
||||
}
|
||||
|
||||
/// Documentation pending
|
||||
pub fn compute_residuals_with_ua_scale(
|
||||
&self,
|
||||
_state: &StateSlice,
|
||||
@@ -470,6 +473,7 @@ impl<Model: HeatTransferModel + 'static> HeatExchanger<Model> {
|
||||
self.do_compute_residuals(_state, residuals, Some(custom_ua_scale))
|
||||
}
|
||||
|
||||
/// Documentation pending
|
||||
pub fn do_compute_residuals(
|
||||
&self,
|
||||
_state: &StateSlice,
|
||||
@@ -698,7 +702,7 @@ impl<Model: HeatTransferModel + 'static> Component for HeatExchanger<Model> {
|
||||
|
||||
fn port_enthalpies(
|
||||
&self,
|
||||
state: &StateSlice,
|
||||
_state: &StateSlice,
|
||||
) -> Result<Vec<entropyk_core::Enthalpy>, ComponentError> {
|
||||
let mut enthalpies = Vec::with_capacity(4);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user