Skip to content

Refactor to allow multiple solvers and compute backends #28

Description

@lrntct

The goal is to allow the following:

The architecture would be:

  • Simulation does not change
  • SurfaceFlowModel represents the equation family
  • ComputeBackend performs low-level array kernels and reductions
  • ArrayStore owns array allocation, padding, swapping, and host/device synchronization
  • RasterDomain remains the domain-facing object, but becomes a thin facade over ArrayStore instead of directly owning raw NumPy arrays forever
  • rastermetrics.pyx is split between ArrayStore and ComputeBackend

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions