suanPan
LinearHardeningNM.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright (C) 2017-2022 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  ******************************************************************************/
29 #ifndef LINEARHARDENINGNM_H
30 #define LINEARHARDENINGNM_H
31 
32 #include "NonlinearNM.h"
33 
35  const double isotropic_modulus;
36  const double kinematic_modulus;
37 
38  [[nodiscard]] int compute_local_integration(vec&, mat&) override;
39 
40 protected:
41  [[nodiscard]] vec compute_h(double) const override;
42  [[nodiscard]] vec compute_dh(double) const override;
43 
44 public:
45  LinearHardeningNM(unsigned, // tag
46  double, // axial rigidity
47  double, // flexural rigidity
48  double, // isotropic hardening modulus
49  double, // kinematic hardening modulus
50  double, // linear density
51  vec&&
52  );
53  LinearHardeningNM(unsigned, // tag
54  double, // axial rigidity
55  double, // flexural rigidity
56  double, // flexural rigidity
57  double, // isotropic hardening modulus
58  double, // kinematic hardening modulus
59  double, // linear density
60  vec&&
61  );
62 };
63 
64 #endif
65 
A LinearHardeningNM class.
Definition: LinearHardeningNM.h:34
vec compute_dh(double) const override
Definition: LinearHardeningNM.cpp:148
LinearHardeningNM(unsigned, double, double, double, double, double, vec &&)
Definition: LinearHardeningNM.cpp:150
vec compute_h(double) const override
Definition: LinearHardeningNM.cpp:146
A NonlinearNM class.
Definition: NonlinearNM.h:39