xref: /honee/include/nodal_projection.h (revision c0d10d1ddfa51fc3c0a8079706784eb95f3ed88f)
1*8340219bSJames Wright // SPDX-FileCopyrightText: Copyright (c) 2017-2025, HONEE contributors.
2*8340219bSJames Wright // SPDX-License-Identifier: Apache-2.0 OR BSD-2-Clause
3*8340219bSJames Wright 
4*8340219bSJames Wright #include <petsc_ops.h>
5*8340219bSJames Wright 
6*8340219bSJames Wright typedef struct {
7*8340219bSJames Wright   DM                   dm;
8*8340219bSJames Wright   PetscInt             num_comp;
9*8340219bSJames Wright   OperatorApplyContext l2_rhs_ctx;
10*8340219bSJames Wright   KSP                  ksp;
11*8340219bSJames Wright } *NodalProjectionData;
12*8340219bSJames Wright 
13*8340219bSJames Wright PetscErrorCode NodalProjectionDataDestroy(NodalProjectionData *context);
14