suanPan
LinearHardeningNM.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  ******************************************************************************/
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:
46  unsigned, // tag
47  double, // axial rigidity
48  double, // flexural rigidity
49  double, // isotropic hardening modulus
50  double, // kinematic hardening modulus
51  double, // linear density
52  vec&&
53  );
55  unsigned, // tag
56  double, // axial rigidity
57  double, // flexural rigidity
58  double, // flexural rigidity
59  double, // isotropic hardening modulus
60  double, // kinematic hardening modulus
61  double, // linear density
62  vec&&
63  );
64 };
65 
66 #endif
67 
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