suanPan
VAFNM.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 VAFNM_H
30 #define VAFNM_H
31 
32 #include "NonlinearNM.h"
33 
34 class VAFNM : public NonlinearNM {
35  const double iso_modulus, iso_saturation, iso_decay;
36 
37  const vec kin_modulus, kin_base;
38 
39  [[nodiscard]] int compute_local_integration(vec&, mat&) override;
40 
41 protected:
42  [[nodiscard]] vec compute_h(double) const override;
43  [[nodiscard]] vec compute_dh(double) const override;
44 
45 public:
46  VAFNM(
47  unsigned, // tag
48  double, // axial rigidity
49  double, // flexural rigidity
50  double, // isotropic modulus
51  double, // isotropic saturation
52  double, // isotropic decay
53  vec&&, // kinematic modulus
54  vec&&, // kinematic base
55  double, // linear density
56  vec&&
57  );
58  VAFNM(
59  unsigned, // tag
60  double, // axial rigidity
61  double, // flexural rigidity
62  double, // flexural rigidity
63  double, // isotropic modulus
64  double, // isotropic saturation
65  double, // isotropic decay
66  vec&&, // kinematic modulus
67  vec&&, // kinematic base
68  double, // linear density
69  vec&&
70  );
71 };
72 
73 #endif
74 
A NonlinearNM class.
Definition: NonlinearNM.h:39
A VAFNM class.
Definition: VAFNM.h:34
vec compute_h(double) const override
Definition: VAFNM.cpp:150
vec compute_dh(double) const override
Definition: VAFNM.cpp:152
VAFNM(unsigned, double, double, double, double, double, vec &&, vec &&, double, vec &&)
Definition: VAFNM.cpp:154