xref: /honee/qfunctions/stabilization_types.h (revision 4c5ab12f9e3e2d4e0803a17c08b7be38a0969e4d)
1 // SPDX-FileCopyrightText: Copyright (c) 2017-2024, HONEE contributors.
2 // SPDX-License-Identifier: Apache-2.0 OR BSD-2-Clause
3 #pragma once
4 
5 typedef enum {
6   STAB_NONE = 0,
7   STAB_SU   = 1,  // Streamline Upwind
8   STAB_SUPG = 2,  // Streamline Upwind Petrov-Galerkin
9 } StabilizationType;
10 
11 typedef enum {
12   STAB_TAU_CTAU           = 0,
13   STAB_TAU_ADVDIFF_SHAKIB = 1,  // Approximation from Shakib's Thesis
14 } StabilizationTauType;
15 
16 typedef enum {
17   DIV_DIFF_FLUX_PROJ_NONE     = 0,
18   DIV_DIFF_FLUX_PROJ_DIRECT   = 1,
19   DIV_DIFF_FLUX_PROJ_INDIRECT = 2,
20 } DivDiffFluxProjectionMethod;
21