babylon.engine.systems.field_derivative
FieldDerivativeSystem — System #20 in materialist causality order.
Dialectical Field Topology (Feature 002): Computes spatial derivatives (gradient on edges, Laplacian on nodes), temporal derivatives (df/dt, d2f/dt2), principal-field identification, and continuity residuals.
Its principal_field graph attr is the field-stack’s fastest-developing
contradiction FIELD — deliberately distinct from ContradictionSystem @18’s
Maoist principal OPPOSITION, so the two never fight (E0 rename).
Reference: FR-003 (gradient), FR-004 (Laplacian) Reference: FR-006 (temporal derivatives) Reference: FR-008 (principal contradiction) Reference: FR-009 (continuity residuals) Reference: R-006 (system ordering — position 20)
Classes
Compute spatial and temporal derivatives for contradiction fields. |
- class babylon.engine.systems.field_derivative.FieldDerivativeSystem[source]
Bases:
SystemBaseCompute spatial and temporal derivatives for contradiction fields.
Execution Order: 20 (after ContradictionFieldSystem)
Reads contradiction_fields from nodes (written by System #19), computes gradients on edges, Laplacian at nodes, and temporal derivatives from the rolling history in persistent_data.
- step(graph, services, context)[source]
Compute all spatial and temporal derivatives.
- Parameters:
graph (GraphProtocol) – Mutable graph (NetworkX or GraphProtocol).
services (ServicesProtocol) – ServicesProtocol with field_registry.
context (ContextType) – TickContext or dict with tick and persistent_data.
- Return type:
None