NLMech  0.1.0
loading.h
1 // Copyright (c) 2019 Prashant K. Jha
3 // Copyright (c) 2019 Patrick Diehl
4 //
5 // Distributed under the Boost Software License, Version 1.0. (See accompanying
6 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8 
9 #ifndef LOADING_LOADING_H
10 #define LOADING_LOADING_H
11 
12 #include <string>
13 #include <vector>
14 
15 // forward declaration of loading deck
16 namespace inp {
17 struct LoadingDeck;
18 struct BCData;
19 } // namespace inp
20 
27 namespace loading {
28 
37 class Loading {
38 
39 public:
41  Loading() = default;
42 
44  std::vector<inp::BCData> d_bcData;
45 
47  std::vector<std::vector<size_t>> d_bcNodes;
48 };
49 
50 } // namespace loading
51 
52 #endif // LOADING_LOADING_H
A base class to apply displacement and force boundary condition.
Definition: loading.h:37
Loading()=default
Constructor.
std::vector< inp::BCData > d_bcData
List of displacement bcs.
Definition: loading.h:44
std::vector< std::vector< size_t > > d_bcNodes
List of nodal ids on which bc is to be applied.
Definition: loading.h:47
Collection of methods and database related to input.
Definition: main.cpp:21
Collection of methods and database related to loading.
Definition: DataManager.h:38