13d8e8822SJeremy L Thompson // Copyright (c) 2017-2022, Lawrence Livermore National Security, LLC and other CEED contributors. 23d8e8822SJeremy L Thompson // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 33d8e8822SJeremy L Thompson // 43d8e8822SJeremy L Thompson // SPDX-License-Identifier: BSD-2-Clause 53d8e8822SJeremy L Thompson // 63d8e8822SJeremy L Thompson // This file is part of CEED: http://github.com/ceed 73d8e8822SJeremy L Thompson 8b7c563b6SJeremy L Thompson #ifndef libceed_solids_examples_setup_h 9b7c563b6SJeremy L Thompson #define libceed_solids_examples_setup_h 10ccaff030SJeremy L Thompson 113d576824SJeremy L Thompson #include <ceed.h> 12ccaff030SJeremy L Thompson #include <petscdmplex.h> 1349aac155SJeremy L Thompson #include <petscsnes.h> 143d576824SJeremy L Thompson #include <stdbool.h> 153d576824SJeremy L Thompson #include <string.h> 162b730f8bSJeremy L Thompson 175754ecacSJeremy L Thompson #include "include/cl-options.h" 185754ecacSJeremy L Thompson #include "include/matops.h" 195754ecacSJeremy L Thompson #include "include/misc.h" 205754ecacSJeremy L Thompson #include "include/setup-dm.h" 215754ecacSJeremy L Thompson #include "include/setup-libceed.h" 222b730f8bSJeremy L Thompson #include "include/structs.h" 235754ecacSJeremy L Thompson #include "include/utils.h" 242b730f8bSJeremy L Thompson #include "problems/problems.h" 25ccaff030SJeremy L Thompson 26d31f425aSJeremy L Thompson #if PETSC_VERSION_LT(3, 20, 0) 27d31f425aSJeremy L Thompson #error "PETSc v3.20 or later is required" 28b8962995SJeremy L Thompson #endif 29b8962995SJeremy L Thompson 30*49a40c8aSKenneth E. Jansen #if PETSC_VERSION_LT(3, 21, 0) 31*49a40c8aSKenneth E. Jansen #define DMSetCoordinateDisc(a, b, c) DMProjectCoordinates(a, b) 32*49a40c8aSKenneth E. Jansen #endif 33*49a40c8aSKenneth E. Jansen 34b7c563b6SJeremy L Thompson #endif // libceed_solids_examples_setup_h 35