Skip to content

Commit

Permalink
solids - drop small strain since its untested
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylt committed Jun 10, 2024
1 parent 380e68c commit a80a54a
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 475 deletions.
2 changes: 1 addition & 1 deletion examples/solids/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ The command line options just shown are the minimum requirements to run the mini
-

* - `-problem`
- Problem to solve (`Linear`, `SS-NH`, `FS-MR`, etc.)
- Problem to solve (`Linear`, `FS-NH`, `FS-MR`, etc.)
- `Linear`

* - `-forcing`
Expand Down
7 changes: 3 additions & 4 deletions examples/solids/problems/cl-problems.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
#pragma once

// Problem options
typedef enum { ELAS_LINEAR = 0, ELAS_SS_NH = 1, ELAS_FS_NH = 2, ELAS_FS_MR = 3 } problemType;
static const char *const problemTypes[] = {"Linear", "SS-NH", "FS-NH", "FS-MR", "problemType", "ELAS_", 0};
static const char *const problemTypesForDisp[] = {"Linear elasticity", "Hyperelasticity small strain, Neo-Hookean",
"Hyperelasticity finite strain Initial configuration Neo-Hookean",
typedef enum { ELAS_LINEAR = 0, ELAS_FS_NH = 2, ELAS_FS_MR = 2 } problemType;
static const char *const problemTypes[] = {"Linear", "FS-NH", "FS-MR", "problemType", "ELAS_", 0};
static const char *const problemTypesForDisp[] = {"Linear elasticity", "Hyperelasticity finite strain Initial configuration Neo-Hookean",
"Hyperelasticity finite strain Initial configuration Moony-Rivlin"};
1 change: 0 additions & 1 deletion examples/solids/problems/problems.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ PetscErrorCode RegisterProblems(ProblemFunctions problem_functions) {
PetscFunctionBegin;

SOLIDS_PROBLEM_REGISTER(problem_functions, "Linear", ElasLinear, NH);
SOLIDS_PROBLEM_REGISTER(problem_functions, "SS-NH", ElasSSNH, NH);
SOLIDS_PROBLEM_REGISTER(problem_functions, "FS-NH", ElasFSNH, NH);
SOLIDS_PROBLEM_REGISTER(problem_functions, "FS-MR", ElasFSMR, MR);

Expand Down
1 change: 0 additions & 1 deletion examples/solids/problems/problems.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,5 @@ PetscErrorCode RegisterProblems(ProblemFunctions problem_functions);
PetscInt u_loc_size, CeedVector fine_mult, CeedData *data);

SOLIDS_PROBLEM(ElasLinear);
SOLIDS_PROBLEM(ElasSSNH);
SOLIDS_PROBLEM(ElasFSNH);
SOLIDS_PROBLEM(ElasFSMR);
58 changes: 0 additions & 58 deletions examples/solids/problems/small-strain-neo-hookean.c

This file was deleted.

Loading

0 comments on commit a80a54a

Please sign in to comment.