xref: /libCEED/examples/fluids/problems/stg_shur14.h (revision caee03026e6576cbf7a399c2fc51bb918c77f451)
1 // Copyright (c) 2017-2022, Lawrence Livermore National Security, LLC and other CEED contributors.
2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
3 //
4 // SPDX-License-Identifier: BSD-2-Clause
5 //
6 // This file is part of CEED:  http://github.com/ceed
7 
8 #include <ceed.h>
9 #include <petsc.h>
10 
11 #include "../navierstokes.h"
12 #include "../qfunctions/stg_shur14_type.h"
13 
14 extern PetscErrorCode SetupSTG(const MPI_Comm comm, const DM dm, ProblemData *problem, User user, const bool prescribe_T, const CeedScalar theta0,
15                                const CeedScalar P0, const CeedScalar ynodes[], const CeedInt nynodes);
16 
17 extern PetscErrorCode SetupStrongSTG(DM dm, SimpleBC bc, ProblemData *problem, Physics phys);
18 
19 extern PetscErrorCode SetupStrongSTG_QF(Ceed ceed, ProblemData *problem, CeedInt num_comp_x, CeedInt num_comp_q, CeedInt stg_data_size,
20                                         CeedInt q_data_size_sur, CeedQFunction *qf_strongbc);
21 
22 extern PetscErrorCode SetupStrongSTG_PreProcessing(Ceed ceed, ProblemData *problem, CeedInt num_comp_x, CeedInt stg_data_size,
23                                                    CeedInt q_data_size_sur, CeedQFunction *pqf_strongbc);
24