chore: remove deprecated flow_boundary and update docs to match new architecture
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
use entropyk::{System, SystemBuilder, ThermoError};
|
||||
use entropyk_components::{
|
||||
Component, ComponentError, JacobianBuilder, ResidualVector, SystemState,
|
||||
Component, ComponentError, JacobianBuilder, ResidualVector,
|
||||
};
|
||||
|
||||
struct MockComponent {
|
||||
@@ -16,7 +16,7 @@ struct MockComponent {
|
||||
impl Component for MockComponent {
|
||||
fn compute_residuals(
|
||||
&self,
|
||||
_state: &SystemState,
|
||||
_state: &[f64],
|
||||
_residuals: &mut ResidualVector,
|
||||
) -> Result<(), ComponentError> {
|
||||
Ok(())
|
||||
@@ -24,7 +24,7 @@ impl Component for MockComponent {
|
||||
|
||||
fn jacobian_entries(
|
||||
&self,
|
||||
_state: &SystemState,
|
||||
_state: &[f64],
|
||||
_jacobian: &mut JacobianBuilder,
|
||||
) -> Result<(), ComponentError> {
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user