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