Skip to content

Automated goal-oriented adaptivity#5273

Open
pbrubeck wants to merge 2 commits into
pbrubeck/mg-redistfrom
pbrubeck/goal-adaptive-callback
Open

Automated goal-oriented adaptivity#5273
pbrubeck wants to merge 2 commits into
pbrubeck/mg-redistfrom
pbrubeck/goal-adaptive-callback

Conversation

@pbrubeck

@pbrubeck pbrubeck commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Description

  • dwr_marking_callback(goal_functional) API.
  • Configuration through prefixed PETSc.Options() keys.
  • Weak SNES reference in _SNESContext, avoiding circular ownership.
  • Enriched primal/dual solves, transpose-Jacobian interface, residual localization, and Dörfler marking.
  • Top-level solve(..., marking_callback=...) forwarding.
  • Targeted tests pass; make srclint passes.
  • Demo from Rognes and Logg 2012

Depends on https://gitlab.com/petsc/petsc/-/merge_requests/9447

Comment thread firedrake/dwr.py
)

def reconstruct(self, coefficient_mapping):
goal = replace(self.goal_functional, coefficient_mapping)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs to call refine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant