xref: /libCEED/examples/solids/problems/problems.c (revision 5aed82e4fa97acf4ba24a7f10a35f5303a6798e0)
1*5aed82e4SJeremy 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);
182b730f8bSJeremy L Thompson   SOLIDS_PROBLEM_REGISTER(problem_functions, "FSCurrent-NH1", ElasFSCurrentNH1, NH);
192b730f8bSJeremy L Thompson   SOLIDS_PROBLEM_REGISTER(problem_functions, "FSCurrent-NH2", ElasFSCurrentNH2, NH);
202b730f8bSJeremy L Thompson   SOLIDS_PROBLEM_REGISTER(problem_functions, "FSInitial-NH1", ElasFSInitialNH1, NH);
212b730f8bSJeremy L Thompson   SOLIDS_PROBLEM_REGISTER(problem_functions, "FSInitial-NH2", ElasFSInitialNH2, NH);
222b730f8bSJeremy L Thompson   SOLIDS_PROBLEM_REGISTER(problem_functions, "FSInitial-MR1", ElasFSInitialMR1, MR);
235754ecacSJeremy L Thompson 
24ee4ca9cbSJames Wright   PetscFunctionReturn(PETSC_SUCCESS);
255754ecacSJeremy L Thompson };
26