chore: remove deprecated flow_boundary and update docs to match new architecture
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
use std::os::raw::{c_double, c_uint};
|
||||
|
||||
use entropyk_components::{
|
||||
Component, ComponentError, ConnectedPort, JacobianBuilder, ResidualVector, SystemState,
|
||||
Component, ComponentError, ConnectedPort, JacobianBuilder, ResidualVector,
|
||||
};
|
||||
|
||||
/// Opaque handle to a component.
|
||||
@@ -34,7 +34,7 @@ impl SimpleAdapter {
|
||||
impl Component for SimpleAdapter {
|
||||
fn compute_residuals(
|
||||
&self,
|
||||
_state: &SystemState,
|
||||
_state: &[f64],
|
||||
residuals: &mut ResidualVector,
|
||||
) -> Result<(), ComponentError> {
|
||||
for r in residuals.iter_mut() {
|
||||
@@ -45,7 +45,7 @@ impl Component for SimpleAdapter {
|
||||
|
||||
fn jacobian_entries(
|
||||
&self,
|
||||
_state: &SystemState,
|
||||
_state: &[f64],
|
||||
_jacobian: &mut JacobianBuilder,
|
||||
) -> Result<(), ComponentError> {
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user