suanPan
ExpMises1D.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright (C) 2017-2023 Theodore Chang
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16  ******************************************************************************/
28 #ifndef EXPMISES1D_H
29 #define EXPMISES1D_H
30 
32 
34  const double yield_stress;
35  const double a, b, c;
36 };
37 
38 class ExpMises1D final : protected DataExpMises1D, public NonlinearMises1D {
39  [[nodiscard]] double compute_k(double) const override;
40  [[nodiscard]] double compute_dk(double) const override;
41  [[nodiscard]] double compute_h(double) const override;
42  [[nodiscard]] double compute_dh(double) const override;
43 
44 public:
45  explicit ExpMises1D(
46  unsigned, // tag
47  double, // elastic modulus
48  double, // initial yield stress
49  double, // a
50  double, // b
51  double, // c
52  double = 0. // density
53  );
54 
55  unique_ptr<Material> get_copy() override;
56 };
57 
58 #endif
59 
A ExpMises1D material class.
Definition: ExpMises1D.h:38
unique_ptr< Material > get_copy() override
Definition: ExpMises1D.cpp:32
ExpMises1D(unsigned, double, double, double, double, double, double=0.)
Definition: ExpMises1D.cpp:28
A NonlinearMises1D material class.
Definition: NonlinearMises1D.h:37
Definition: ExpMises1D.h:33
const double a
Definition: ExpMises1D.h:35
const double b
Definition: ExpMises1D.h:35
const double yield_stress
Definition: ExpMises1D.h:34
const double c
Definition: ExpMises1D.h:35