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 Physics phys); 21 22 extern PetscErrorCode SetupStrongSTG_QF(Ceed ceed, ProblemData *problem, 23 CeedInt num_comp_x, CeedInt num_comp_q, CeedInt stg_data_size, 24 CeedInt q_data_size_sur, CeedQFunction *qf_strongbc); 25 26 extern PetscErrorCode SetupStrongSTG_PreProcessing(Ceed ceed, 27 ProblemData *problem, CeedInt num_comp_x, CeedInt stg_data_size, 28 CeedInt q_data_size_sur, CeedQFunction *pqf_strongbc); 29