Solver Architecture

This document describes the architecture of the simulation solver used in the Resonance Substrate Model.


Quicklinks#


1. Overview#

The solver is structured as a modular pipeline that processes field states, applies operators, and advances the system through time.

2. Core Components#

  • State Manager — stores scalar, vector, spin, and resonance fields
  • Operator Engine — applies diffusion, decay, alignment, and coupling operators
  • Time Integrator — advances fields using explicit or implicit schemes
  • Boundary Handler — enforces boundary conditions
  • Diagnostics Module — collects metrics and logs

3. Execution Flow#

  1. Load initial state
  2. Apply operators
  3. Integrate in time
  4. Enforce boundaries
  5. Record diagnostics
  6. Repeat until termination criteria are met

4. Extensibility#

  • plugin-style operator modules
  • configurable integration schemes
  • multi-resolution grid support