suanPan
NMB21E.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright (C) 2017-2024 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 NMB21E_H
30 #define NMB21E_H
31 
32 #include "NMB21.h"
33 
34 class NMB21E final : public NMB21 {
35  const uvec a, b;
36 
37  vec trial_local_deformation;
38  vec current_local_deformation;
39 
40 public:
41  NMB21E(
42  unsigned, // tag
43  unsigned, // which
44  uvec&&, // node tags
45  unsigned, // section tag
46  bool = false // nonlinear geometry switch
47  );
48 
49  int initialize(const shared_ptr<DomainBase>&) override;
50 
51  int update_status() override;
52 
53  int commit_status() override;
54  int clear_status() override;
55  int reset_status() override;
56 };
57 
58 #endif
59 
The NMB21E class.
Definition: NMB21E.h:34
int reset_status() override
Definition: NMB21E.cpp:73
int clear_status() override
Definition: NMB21E.cpp:68
int commit_status() override
Definition: NMB21E.cpp:63
int update_status() override
Definition: NMB21E.cpp:36
NMB21E(unsigned, unsigned, uvec &&, unsigned, bool=false)
Definition: NMB21E.cpp:23
int initialize(const shared_ptr< DomainBase > &) override
Definition: NMB21E.cpp:28
The NMB21 class.
Definition: NMB21.h:35