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