suanPan
GroupNodalDisplacement.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  ******************************************************************************/
31 #ifndef GROUPNODALDISPLACEMENT_H
32 #define GROUPNODALDISPLACEMENT_H
33 
34 #include "NodalDisplacement.h"
35 
36 class GroupNodalDisplacement final : protected GroupLoad, public NodalDisplacement {
37 public:
38  GroupNodalDisplacement(unsigned, // tag
39  unsigned, // step tag
40  double, // magnitude
41  uvec&&, // group tags
42  unsigned, // dof tag
43  unsigned // amplitude tag
44  );
45  GroupNodalDisplacement(unsigned, // tag
46  unsigned, // step tag
47  double, // magnitude
48  uvec&&, // group tags
49  uvec&&, // dof tags
50  unsigned = 0 // amplitude tag
51  );
52 
53  int initialize(const shared_ptr<DomainBase>&) override;
54 };
55 
56 #endif // GROUPNODALDISPLACEMENT_H
57 
Definition: Load.h:74
A GroupNodalDisplacement class.
Definition: GroupNodalDisplacement.h:36
GroupNodalDisplacement(unsigned, unsigned, double, uvec &&, unsigned, unsigned)
Definition: GroupNodalDisplacement.cpp:21
int initialize(const shared_ptr< DomainBase > &) override
Definition: GroupNodalDisplacement.cpp:29
A NodalDisplacement class.
Definition: NodalDisplacement.h:36