Skip to content

perf(indLin): integrate the forcing as a linear ramp (deferred) #1191

Description

@mattfidler

Background

meOnly() folds the forcing into an augmented matrix column
(src/expm.cpp:272-296), exactly as it does a constant infusion rate. So f is
treated as constant across a substep: exact for a genuinely constant forcing,
first-order in hmax otherwise. That is why hmax still governs accuracy even
once the iteration has converged.

Change

Evaluate f at both substep ends and integrate the linear interpolant exactly
via a second augmented column (a phi_2 term), making the substep second-order in
hmax.

Status

Deferred by decision. The iteration lands first with constant-per-substep
forcing plus a test pinning the observed order of convergence in hmax; this
issue is what that test would then show improving. Not scheduled.

Blocked by #1185.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions