chore: remove deprecated flow_boundary and update docs to match new architecture
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
use colored::Colorize;
|
||||
use entropyk_components::{
|
||||
Component, ComponentError, JacobianBuilder, ResidualVector, SystemState,
|
||||
Component, ComponentError, JacobianBuilder, ResidualVector, StateSlice,
|
||||
};
|
||||
use entropyk_core::{Temperature, ThermalConductance};
|
||||
use entropyk_solver::{
|
||||
@@ -49,7 +49,7 @@ impl SimpleComponent {
|
||||
impl Component for SimpleComponent {
|
||||
fn compute_residuals(
|
||||
&self,
|
||||
_state: &SystemState,
|
||||
_state: &StateSlice,
|
||||
residuals: &mut ResidualVector,
|
||||
) -> Result<(), ComponentError> {
|
||||
for r in residuals.iter_mut().take(self.n_eqs) {
|
||||
@@ -60,7 +60,7 @@ impl Component for SimpleComponent {
|
||||
|
||||
fn jacobian_entries(
|
||||
&self,
|
||||
_state: &SystemState,
|
||||
_state: &StateSlice,
|
||||
_jacobian: &mut JacobianBuilder,
|
||||
) -> Result<(), ComponentError> {
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user