suanPan
Loading...
Searching...
No Matches
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
34class 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
41protected:
42 [[nodiscard]] vec compute_h(double) const override;
43 [[nodiscard]] vec compute_dh(double) const override;
44
45public:
46 VAFNM(unsigned, // tag
47 double, // axial rigidity
48 double, // flexural rigidity
49 double, // isotropic modulus
50 double, // isotropic saturation
51 double, // isotropic decay
52 vec&&, // kinematic modulus
53 vec&&, // kinematic base
54 double, // linear density
55 vec&&
56 );
57 VAFNM(unsigned, // tag
58 double, // axial rigidity
59 double, // flexural rigidity
60 double, // flexural rigidity
61 double, // isotropic modulus
62 double, // isotropic saturation
63 double, // isotropic decay
64 vec&&, // kinematic modulus
65 vec&&, // kinematic base
66 double, // linear density
67 vec&&
68 );
69};
70
71#endif
72
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