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