Skip to content

Conversation

@zatkins-dev
Copy link
Collaborator

See https://gitlab.com/micromorph/ratel/-/merge_requests/1164 for more discussion.

Often, the passive outputs of a CeedOperator should always be overwritten; e.g., auxiliary data from a residual evaluation used for Jacobian evaluation. Without this interface, one must use CeedOperatorApply() even if the desired behavior is to add into the active output vector, resulting in needing an extra scratch vector.

@zatkins-dev zatkins-dev force-pushed the zach/apply-add-active branch from 9d83fd9 to 5da5ab9 Compare July 16, 2025 15:59
@jeremylt
Copy link
Member

We can drop some duplication by:

Apply zeros active vectors and calls ApplyAddActive

ApplyAddActive zeros passive vectors and calls ApplyAdd

@zatkins-dev zatkins-dev merged commit 58ed935 into main Jul 16, 2025
29 checks passed
@zatkins-dev zatkins-dev deleted the zach/apply-add-active branch July 16, 2025 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants