xref: /libCEED/examples/fluids/problems/stg_shur14.h (revision a6ea5fbef97e8d672d22d8f160c9adfbdff3664d)
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 #include "../qfunctions/stg_shur14_type.h"
11 #include "../navierstokes.h"
12 
13 extern PetscErrorCode SetupSTG(const MPI_Comm comm, const DM dm,
14                                ProblemData *problem, User user,
15                                const bool prescribe_T, const CeedScalar theta0,
16                                const CeedScalar P0,
17                                const CeedScalar ynodes[], const CeedInt nynodes);
18 
19 extern PetscErrorCode SetupStrongSTG(DM dm, SimpleBC bc, ProblemData *problem);
20 
21 extern PetscErrorCode SetupStrongSTG_QF(Ceed ceed, ProblemData *problem,
22                                         CeedInt num_comp_x, CeedInt num_comp_q, CeedInt stg_data_size,
23                                         CeedInt q_data_size_sur, CeedQFunction *qf_strongbc);
24 
25 extern PetscErrorCode SetupStrongSTG_PreProcessing(Ceed ceed,
26     ProblemData *problem, CeedInt num_comp_x, CeedInt stg_data_size,
27     CeedInt q_data_size_sur, CeedQFunction *pqf_strongbc);
28