xref: /libCEED/examples/solids/problems/problems.c (revision c8565611f4f88586c9ab8f49f4be6e8b5d8096a7)
15aed82e4SJeremy L Thompson // Copyright (c) 2017-2024, 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 
85754ecacSJeremy L Thompson #include "../problems/problems.h"
95754ecacSJeremy L Thompson 
102b730f8bSJeremy L Thompson #include <ceed.h>
1149aac155SJeremy L Thompson #include <petscsys.h>
125754ecacSJeremy L Thompson 
132b730f8bSJeremy L Thompson PetscErrorCode RegisterProblems(ProblemFunctions problem_functions) {
145754ecacSJeremy L Thompson   PetscFunctionBegin;
155754ecacSJeremy L Thompson 
165754ecacSJeremy L Thompson   SOLIDS_PROBLEM_REGISTER(problem_functions, "Linear", ElasLinear, NH);
175754ecacSJeremy L Thompson   SOLIDS_PROBLEM_REGISTER(problem_functions, "SS-NH", ElasSSNH, NH);
18*c8565611SJeremy L Thompson   SOLIDS_PROBLEM_REGISTER(problem_functions, "FS-NH", ElasFSNH, NH);
19*c8565611SJeremy L Thompson   SOLIDS_PROBLEM_REGISTER(problem_functions, "FS-MR", ElasFSMR, MR);
205754ecacSJeremy L Thompson 
21ee4ca9cbSJames Wright   PetscFunctionReturn(PETSC_SUCCESS);
225754ecacSJeremy L Thompson };
23