rhs_fn Interface

interface
public subroutine rhs_fn(ctx)

Arguments

Type IntentOptional Attributes Name
class(*), intent(inout), target :: ctx

Description

Recompute the spatial residual for the current solution state. Implementations refresh halos/BCs and fill resid interior cells. Implementations must not modify the context's dt mid-step — kernels freeze dt at entry.