xref: /honee/include/nodal_projection.h (revision 9eadbee436c14f890f4adec39104d94f9f602897)
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